-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return more than 5000 records on CSW GetRecords POST request #193
Comments
Set startPosition='5001' will get the next set of records.
'''
<csw:GetRecords xmlns:csw='http://wwwopengisnet/cat/csw/202' version='202' service='CSW' resultType='results' startPosition='1' maxRecords='2147483647<tel:2147483647>'>
'''
Set startPosition='5001' will get the next set of records.
Marten
|
Marten, That means a fix in our Production code. We have maxRecords set on a Large number to get all records in one request instead of 4 separate requests. Never read or seen that Geoportal Server would at max return 5000 records? If there is no setting to increase that we have to do a hotfix for the problems we have in production because of recent increase in metadata with 10000 records and now we are above 5000. Kind regards Remko van Ginneken
|
hi Remko, please include this in gpt.xml inside the catalog element (there are others there already called lucene....
This configuration parameter is used in com.esri.gpt.catalog.discovery.DiscoveryComponent to determine a max number of records to return. 5000 is the default max. |
Thx! That is what we we're looking for. Remko
|
Added setting to gpt.xml and restarted server. Cs-w getrecords still only returns 5000 records. So setting seems to be ignored in Cs-w getrecords! Anything else we can try with Geoportal Server. Else we have to start working on a hotfix in our software. Remko
|
Fixed for upcoming 1.2.7 |
We're unable to return more than 5000 records on a single CSW GetRecords Post request, even when specifying a large number (int.maxvalue) for maxRecords!
Returns only first 5000 records in response
Is it possible to return all records in a single GetRecords request?
Kind Regards,
Remko van Ginneken
The text was updated successfully, but these errors were encountered: