Esri / geoportal-server

Geoportal Server is a standards-based, open source product that enables discovery and use of geospatial resources including data and services.
https://gptogc.esri.com/geoportal
Apache License 2.0
244 stars 149 forks source link

Search output format 'searchpageresults' returns no results #263

Open kaarin opened 7 years ago

kaarin commented 7 years ago

For my geoportal 1.2.7 installation searching via the search site returns the following error:

No data recieved from server/geoportal/rest/find/document?rid=local&ridName=This%20Site&rids=local&start=1&max=10&orderBy=relevance&maxSearchTimeMilliSec=10000&f=searchpageresults

It appears that requests with the output format 'searchpageresults' do not return any results, whereas there is a proper response if I replace searchpageresults with atom, html or htmlfragment. Searching via the main page works too, but browsing through the results returns the error mentioned above (as pagination uses searchpageresults).

zguo commented 7 years ago

not sure what cause "server" appearing in "server/geoportal/rest...", maybe try to replace "server" with the actual server name or see if the works, could be some network issue, can further look if there is an external url for the site.