Difference between revisions of "Elastic search"
Jump to navigation
Jump to search
old>Admin |
old>Admin |
||
Line 29: | Line 29: | ||
cd /usr/share/tomcat6/webapps/ | cd /usr/share/tomcat6/webapps/ | ||
sudo wget https://www.tempusserva.dk/install/tsFileIndexingService.war | sudo wget https://www.tempusserva.dk/install/tsFileIndexingService.war | ||
A couple of seconds later you can configure he data connection and paths for OCR librarys | |||
sudo nano /usr/share/tomcat6/conf/Catalina/localhost/tsFileIndexingService.xml |
Revision as of 18:29, 28 November 2017
Java / Elastic search 6
This is the recommended version but requires Java 8.
Follow this guide:
https://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html
Java 7 / Elastic search 1.7
This version is an alternate version.
Install and unpack files
sudo wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.6.tar.gz tar -xvf elasticsearch-1.7.6.tar.gz sudo rm elasticsearch-1.7.6.tar.gz
Run as a daemon
elasticsearch-1.7.6/bin/elasticsearch -d
Test that the service is running
curl 'http://localhost:9200/?pretty'
Install TS indexing service
Install war file
cd /usr/share/tomcat6/webapps/ sudo wget https://www.tempusserva.dk/install/tsFileIndexingService.war
A couple of seconds later you can configure he data connection and paths for OCR librarys
sudo nano /usr/share/tomcat6/conf/Catalina/localhost/tsFileIndexingService.xml