Hi List,
I would like to be able to configure Virtual CSW Entry Points in Geonetwork
2.10 for each of the Groups on my server. I have read the documentation on
how to set up entry points, and by looking at the lucene calls being made
when I search for groups, I found the filter +(_op0:x _op2:x) where x is
the ID of the group in the database.
I configured this in config-csw-servers.xml like so:
<service name="csw-envandbus">
<class name=".services.main.CswDispatcher" >
<param name="filter" value="+(_op0:x _op2:x)"/>
</class>
and then extended the Guest section in user-profiles.xml to look like the
following:
<profile name="Guest">
<allow service="csw-envandbus"/>
</profile>
After restarting tomcat I get an empty response (literally just <response/>
) when I access the entry point in a browser. There are no errors in the
log files (even with logging switched to DEBUG for csw, search, lucene
etc). I wondered if that was because searching by group is only available
to logged in users as part of the advanced search?
I wasn't sure about the section in the documentation about the available
lucene fields being set in the index-fields.xsl in the schema. I assumed
that because there is already an option to search by group (and by
catalogue etc) that it's not necessary to set this in the schema. Is this
correct?
Is this the right approach for setting up virtual CSW entry points for
groups, or do I need a different approach?
Many Thanks
Jo
--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/>
*****************************************
Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.