...
Solr throws an error if an undefined field is used, so make sure to include the correct field names from schema .
Scholars Portal Journals
GeoPortal
Searching for records in Scholars Geoportal can be done by calling the Base URL 'http://geo2.scholarsportal.info/proxy.html?http:__giseditor.scholarsportal.info/search/index.html?limit=entitled&limit=entitled&env=production&' followed by additional URL parameters as appropriate.
Here are a list of URL parameters you can use to retrieve specific results:
Note that each new parameters must be separated by an ampersand character '&'
> q = search terms (can be multiple)
Searching for 'water' simply add '&q=water' to the end of the Base URL as follows http://geo.scholarsportal.info/proxy.html?http:__giseditor.scholarsportal.info/search/index.html?limit=entitled&limit=entitled&env=production&q=water
> field = field constraints (can be multiple and defaults to 'anywhere' if left blank) accepts the following options KW for Keyword, TI for Title, AB for Abstract, SE for Series, bbox for Boundary Box, DR for Date Range, URI for Unique Resource Identifier, and HTD for Historical Maps
E.g searching for 'water' as a keyword add '&q=water&field=KW' to the end of the Base URL as follows http://geo.scholarsportal.info/proxy.html?http:__giseditor.scholarsportal.info/search/index.html?limit=entitled&limit=entitled&env=production&q=water&field=KW
> i = number of results per page (default is 10)
To display 100 results while searching for 'water' add '&q=water&i=100' to the end of the Base URL as follows http://geo.scholarsportal.info/proxy.html?http:__giseditor.scholarsportal.info/search/index.html?limit=entitled&limit=entitled&env=production&q=water&i=100
> p = page number
To display the second page of results while searching for 'water' add '&q=water&p=2' to the end of the Base URL as follows http://geo.scholarsportal.info/proxy.html?http:__giseditor.scholarsportal.info/search/index.html?limit=entitled&limit=entitled&env=production&q=water&p=2
...
> fm = json or xml (default is json)
To display results in XML while searching for water add '&q=water&fm=xml' to the end of the Base URL as follows http://geo.scholarsportal.info/proxy.html?http:__giseditor.scholarsportal.info/search/index.html?limit=entitled&limit=entitled&env=production&q=water&fm=xml
To download the metadata in ISO 19115 for any of the records use the Details Full Base URL 'http://geo1.scholarsportal.info/proxy.html?http:__giseditor.scholarsportal.info/details/full.html?uri=' followed by the record's URI.
E.g to display the first record from the 'water' search, append the URI '/NAP/OGDE_SPRWATER.xml' to the Details Full Base URL as follows http://geo1.scholarsportal.info/proxy.html?http:__giseditor.scholarsportal.info/details/full.html?uri=/NAP/OGDE_SPRWATER.xml
Note: Simply navigating to the Details Full Base URL with a URI in your browser will trigger a redirect to the metadata page in the geoportal.
To download the HTML for any of the records use the Details View Base URL 'http://geo1.scholarsportal.info/proxy.html?http:__giseditor.scholarsportal.info/details/view.html?uri=' followed by the records URI.
E.g to display the first record from the water search append the URI '/NAP/OGDE_SPRWATER.xml' to the Details View Base URL as follows http://geo1.scholarsportal.info/proxy.html?http:__giseditor.scholarsportal.info/details/view.html?uri=/NAP/OGDE_SPRWATER.xml
Note: A stylesheet should be used to display these.
ODESI
Searching for records in ODESI can be done by calling the Base URL 'http://search1.odesi.ca/search?requestURL=' followed by your search parameters as outlined below and ending with the URL encoded string '%26options%3Dodesi-opts2%26format%3Djson' which specifies the search options and format type (either json or xml).
...