Hello list,
Did something change to the way the hitsPerPage, from & to parameters work
between GN 2.6 and 2.10 ? We did the update (and also added more metadata
files to GN) and we have a problem now :
.../xml.search?sortBy=title&sortOrder=reverse&similarity=1&hitsPerPage=5&from=1&to=5
gives metadata with IDs 18 2 3 4 5
.../xml.search?sortBy=title&sortOrder=reverse&similarity=1&hitsPerPage=5&from=6&to=10
gives metadata with IDs 6 7 8 *9 10*
.../xml.search?sortBy=title&sortOrder=reverse&similarity=1&hitsPerPage=5&from=11&to=15
gives metadata with IDs *9 10* 11 12 *13*
.../xml.search?sortBy=title&sortOrder=reverse&similarity=1&hitsPerPage=5&from=16&to=20
gives metadata with IDs *13* 15 14 17
With hitsPerPage=20, I get all the 19 metadata with all different IDs.
from and to parameters are not documented in
http://geonetwork-opensource.org/manuals/2.10.0/eng/developer/xml_services/metadata_xml_search_retrieve.html,
are they still supported ?
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/xml-search-hitsPerPage-from-to-parameters-tp5065641.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.