<div dir="ltr">Hi Tom<div><br></div><div style>Thanks for quick response. </div><div style><br></div><div style>I'll discuss with our customer this solution and will provide feedback about final implementation, but unless a better idea I think we'll manage the same way as pyCSW.</div>

<div style><br></div><div style>Regards,</div><div style>Jose García</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 2, 2013 at 4:58 PM, Tom Kralidis <span dir="ltr"><<a href="mailto:tomkralidis@hotmail.com" target="_blank">tomkralidis@hotmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jose: comments interleaved:<br>
<br>
________________________________<br>
> From: <a href="mailto:jose.garcia@geocat.net">jose.garcia@geocat.net</a><br>
> Date: Thu, 2 May 2013 16:16:36 +0200<br>
> To: <a href="mailto:pycsw-devel@lists.osgeo.org">pycsw-devel@lists.osgeo.org</a><br>
> Subject: [pycsw-devel] CSW Distributed search question<br>
<div class="im">><br>
> Hi all<br>
><br>
> I'm checking to implement DistributedSearch for GeoNetwork and the OGC<br>
> specification seem not very complete related to how to return results.<br>
> I have check pyCSW as it's implementing it to see how has been managed<br>
> and seem like this:<br>
><br>
> - Supposing local catalog and a federated one.<br>
><br>
> - A GetRecords query is send with startRecord=0 and maxRecords=10:<br>
><br>
>     - Local node matches 12 results, so should return the first 10.<br>
>     - The same request is send to the remote catalog, that matches 24<br>
> results, so returns recordsMatched=24, recordsReturned=10<br>
><br>
>    - Local node aggregates results and returns: recordsMatched =36,<br>
> recordsReturned=10, nextRecord=11 and returns local and remote records<br>
> (20 in total)<br>
><br>
> I understand why returned the total records (20), otherwise when<br>
> requested startRecord=11 and maxRecords=10, if only returned 10 in<br>
> first request, the other 10 will be not returned in any way.<br>
><br>
> Did you find about this behaviour in some other spec document or you<br>
> just decided it was the way to go?<br>
><br>
<br>
</div>We just decided it was the way to go in the absence of clarity from the standard.  As well, our initial implementation of this did/does not want to go down the route of resolving relevance of records across nodes before returning to the client.<br>


<br>
Having said this, CSW 3.0 addresses this issue with returning GetRecords w/ DistributedSearch results grouped by federated catalogue so it will be easier to represent this when CSW 3.0 comes out.<br>
<br>
Let us know how GN proceeds with this, as suggestions would be valued.  It would be great to have this functionality consistent across CSW 2.0.2 implementations.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
> Also not a big expert in python, so hope no misunderstood the the code<br>
> and also the problem described is clear.<br>
><br>
> Thanks in advance and regards,<br>
> Jose García                                     </div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><b><font><b><b><div>

<font style="font-family:arial,sans-serif;font-size:13px;font-weight:normal"><div><div style="color:rgb(19,11,81)">GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit <a href="http://geocat.net/" style="color:rgb(17,85,204)" target="_blank">http://geocat.net</a> for details. </div>

<div style="color:rgb(19,11,81)">_________________________</div><div><font color="#222222">Jose García</font></div><div style="color:rgb(19,11,81)">GeoCat bv</div><div style="color:rgb(19,11,81)">Veenderweg 13</div><div style="color:rgb(19,11,81)">

6721 WD Bennekom</div><div style="color:rgb(19,11,81)">The Netherlands</div><div style="color:rgb(19,11,81)"><a href="http://geocat.net/" style="color:rgb(17,85,204)" target="_blank">http://GeoCat.net</a></div></div><div style="color:rgb(19,11,81)">

<br></div></font></div><span style="color:rgb(0,0,0);font-family:Helvetica;font-weight:normal;font-size:medium"><span style="font-size:12px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"></span></span></span></b></b></font></b></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span>
</div>