Opened 13 years ago

Last modified 13 years ago

#660 closed enhancement

Virtual CSW endpoints — at Version 1

Reported by: josegar74 Owned by: geonetwork-devel@…
Priority: major Milestone: v2.7.0
Component: General Version: v2.6.3
Keywords: Cc:

Description (last modified by josegar74)

Add the capability to have custom CSW entry points that applies extra criteria to the CSW request.

A new CSW service entry point is defined using the following syntax:

<service name="csw-with-my-filter">
       <class name=".services.main.CswDispatcher" >
               <param name="filter" value="+inspirerelated:on +themekey:environment"/>
       </class>
</service>

The "filter" parameter value is the filter to apply to Lucene query using Lucene query syntax ( http://lucene.apache.org/java/2_9_1/queryparsersyntax.html). Allows OR and AND operators.

Adding new services require a restart of the application.

Change History (2)

comment:1 by josegar74, 13 years ago

Description: modified (diff)

by josegar74, 13 years ago

Attachment: Patch_CSW_Virtual.patch added
Note: See TracTickets for help on using tickets.