Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Test the Solr GeoRSS

Restart the Solr. If you are using Tomcat, Tomcat 6 is preferred. Suppose your Solr URL is under http://localhost:8080/solr/.

In the browser, enter navigate to http://localhost:8080/solr/select/?q=*:*&wt=georss, and then "view page source". If you have installed GeoRSS ResponseWriter successfully and indexed the required fields, you should be able to see the output similar to the following.

...

Add the URL used in Solr GeoRSS to the sis_location_config.xml file for the SIS webapp. Make sure to encode do XML encoding for all the '&' to '&'   in the URL. Remove all of the other RSS URLs from the file. After editing the file, it should look similar to the following:

Code Block
<sis:locationConfig xmlns:sis="http://incubator.apache.org/sis/1.0">
    <capacity>4</capacity>
    <depth>10</depth>
    <url>http://localhost:8080/solr/select/?q=*:*&amp;wt=georss&amp;start=0&amp;rows=2000</url>
</sis:locationConfig>

Running The SIS Demo

To demonstrate the connection, we use the 'demo.jsp' demo from the SIS web application. In the browser, navigate to the SIS demo URL, for example, http://localhost:8080/sis/demo.jsp.

Enter the latitude and longitude region in the query form and then click 'Query', and then SIS Webapp should return the results similar to the following. The box of document information is displayed when you click a marker on the map.

Image Modified