Applies fine grained spatial searches to GeoNetwork metadata based on linked Geoserver features
Ensure that spatial search is configured to index the desired GeoNetwork instance. See geonetwork.search.serverURL and geonetwork.index.serverURL in Config.groovy
For a layer to be indexed Spatial Search needs to know a little about it. Read this to see how to do that and read this to know the history behind this need.
The API consists of the following functions with corresponding URLs.
A harvest consists of a queue followed by an index for each of the queued records.
To harvest:
$ curl http://localhost:8080/spatialsearch/index/harvest
Queueing started at Wed Oct 30 12:12:08 EST 2013<br>943 metadata documents queued finishing at Wed Oct 30 12:12:15 EST 2013<br>Indexing started at Wed Oct 30 12:12:15 EST 2013<br>A queue will query the configured GeoNetwork for all of its records containing a WMS layer.
To queue:
$ curl http://localhost:8080/spatialsearch/index/queue
Queueing started at Wed Oct 30 12:09:05 EST 2013<br>943 metadata documents queued finishing at Wed Oct 30 12:09:14 EST 2013<br>An index will index each of the queued metadata records. Indexing is the function whereby geoserver instances are hit via WFS and the responses parsed into geometries.
To index:
$ curl http://localhost:8080/spatialsearch/index/index
Indexing started at Wed Oct 30 12:13:09 EST 2013<br>To view a single record as it would be returned from GeoNetwork to spatial search for queuing use:
$ curl http://catalogue-123.aodn.org.au/geonetwork/srv/eng/q?uuid=c1344e70-480e-0993-e044-00144f7bc0f4&fast=indexTo view the entire list of records that spatial search queues use:
$ curl http://catalogue-123.aodn.org.au/geonetwork/srv/eng/q?from=1&to=15&protocol=OGC:WMS-1.1.1-http-get-map%20or%20OGC:WMS-1.3.0-http-get-map&fast=indexchanging from and to parameters to paginate.