|
|
Egothor Quick Setup
- Assumptions
c:\docs : documents to be indexed
c:\index : the index will be created in the directory
http://localhost/docs : the URL
So make sure both directories exist and that your documents directory
actually has some HTML, Text, XML, Microsoft Word documents or PDF
files.
Note you need to install and configure
Xpdf if you
want to index PDF files. Follow the instructions
here
to do this.
- Setting the index
Change to the egothor directory and run the index-set target. On Windows use
forward slashes, e.g. c:/index
cd egothor
ant jar
ant -f tasks.xml index-set
- Indexing our documents
Change to the egothor directory and
run the war target with the settings from step 1
ant -f tasks.xml index-local -Dindex.barrel=c:\index -Dindex.www=http://localhost/docs -Dindex.from=c:\docs
When the task is finished you should see a state file and some directories in the c:\index directory.
-
Testing the newly created index via console
ant -f tasks.xml -Dindex.barrel=c:\index query-local
Testing the newly created index via Swing Application
ant -f build.xml.searchapplet application
- Building the egothor web application
ant war
-
Deploying the egothor web application
Make sure tomcat is running. Copy the file egothor\tmp\dist\egothor.war to %TOMCAT_HOME%\webapps
-
Check that the egothor web app is running by pointing your browser to the following URL:
http://localhost:8080/egothor/
- Feedback welcome! log_debug at users.sourceforge.net
|