[pycsw-devel] CSW Distributed search question

Jose Garcia jose.garcia at geocat.net
Thu May 2 07:16:36 PDT 2013


Hi all

I'm checking to implement DistributedSearch for GeoNetwork and the OGC
specification seem not very complete related to how to return results. I
have check pyCSW as it's implementing it to see how has been managed and
seem like this:

- Supposing local catalog and a federated one.

- A GetRecords query is send with startRecord=0 and maxRecords=10:

   - Local node matches 12 results, so should return the first 10.
   - The same request is send to the remote catalog, that matches 24
results, so returns recordsMatched=24, recordsReturned=10

*  - Local node aggregates results and returns: recordsMatched =36,
recordsReturned=10, nextRecord=11 and returns local and remote records (20
in total)*

I understand why returned the total records (20), otherwise when requested
startRecord=11 and maxRecords=10, if only returned 10 in first request, the
other 10 will be not returned in any way.

Did you find about this behaviour in some other spec document or you just
decided it was the way to go?

Also not a big expert in python, so hope no misunderstood the the code and
also the problem described is clear.

Thanks in advance and regards,
Jose García


-- 
*
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
_________________________
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net <http://geocat.net/>

*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pycsw-devel/attachments/20130502/ff30e272/attachment.html>


More information about the pycsw-devel mailing list