Versions Compared

Key

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

Introduction

This tutorial demonstrates how to create a simple connection between Solr and SIS.

Prerequisites

This tutorial assumes that you already have Solr and SIS webapp installed.

Installing GeoRSS ResponseWriter to Solr

...

Code Block
<?xml version='1.0'?>
<rss version='2.0' xmlns:geo='http://www.w3.org/2003/01/geo/wgs84_pos#'>
	<channel>
		<title>Solr Search Results</title>
		<description>GeoRSS Formatted Search Results</description>
		<item>
			<title>00000001 pages 1-249.pdf</title>
			<link>http://localhost:8080/solr/vault/00000001 pages 1-249.pdf</link>
			<pubDate>Sat, 28 Apr 2012 23:01:48 PDT</pubDate>
			<geo:lat>37.25022</geo:lat>
			<geo:long>-119.75126</geo:long>
		</item>
		<item>
			<title>00000001 pages 250-461.pdf</title>
			<link>http://localhost:8080/solr/vault/00000001 pages 250-461.pdf</link>
			<pubDate>Sat, 28 Apr 2012 23:01:48 PDT</pubDate>
			<geo:lat>37.25022</geo:lat>
			<geo:long>-119.75126</geo:long>
		</item>
		<item>
			<title>100-342146 Section 1 -6.PDF</title>
			<link>http://localhost:8080/solr/vault/100-342146 Section 1 -6.PDF</link>
			<pubDate>Sat, 28 Apr 2012 23:01:48 PDT</pubDate>
			<geo:lat>32.31872</geo:lat>
			<geo:long>-102.54572</geo:long>
		</item>
.......
     </channel>
</rss>

SIS Webapp Configuration

...

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

...