Difference between revisions of "Kino Installation Guide"

From Knoesis wiki
Jump to: navigation, search
(Install Kino)
Line 1: Line 1:
The following steps gives a brief overview of installing a APIHut indexer locally
+
The following steps gives a brief overview of installing a Kino indexer locally
  
 
==Install SOLR==
 
==Install SOLR==
Line 18: Line 18:
 
<description>Endpoint of the solr server</description>
 
<description>Endpoint of the solr server</description>
 
<param-name>solr-endpoint</param-name>
 
<param-name>solr-endpoint</param-name>
<param-value>http://localhost:8080/apache-solr-1.4.1/</param-value>
+
<param-value>http://localhost:8080/apache-solr-1.4.1/</param-value>
+
 
</init-param>
 
</init-param>
 
</pre>
 
</pre>

Revision as of 20:42, 9 May 2011

The following steps gives a brief overview of installing a Kino indexer locally

Install SOLR

APIhut needs a SOLR installation. This is simply getting the SOLR source code from the SOLR Website and getting the deployed according to the instructions at SOLR tutorial. The following configuration is important.

  • SOLR home needs to be pointed to the SOLR home folder provided with the source code. This can be done in various ways. If you are installing SOLR in tomcat, take a look at SOLR Tomcat guide for instructions on setting the SOLR Home.

Install Kino

  • Download the source code (See Downloads section)
  • Get the URL of your SOLR server. This could be something like
http://localhost:8080/apache-solr-1.4.2-dev/
  • Change the web.xml to point to your SOLR installation. The web.xml entry looks like the following
<init-param>
	<description>Endpoint of the solr server</description>
	<param-name>solr-endpoint</param-name>
	<param-value>http://localhost:8080/apache-solr-1.4.1/</param-value>			
</init-param>
  • Generate the war file. To do this, run the ant build with the dist argument
 ant dist
  • Deploy the generated war file.