I have downloaded Lucene 3.0.0 and
when I used the command
java -jar lucene-core-3.0.0.jar
in the directory where Lucene is present
I got this message
Failed to load Main-Class manifest attribute from lucene-core-3.0.0.jar
How do I proceed?
I have downloaded Lucene 3.0.0 and
when I used the command
java -jar lucene-core-3.0.0.jar
in the directory where Lucene is present
I got this message
Failed to load Main-Class manifest attribute from lucene-core-3.0.0.jar
How do I proceed?
I am using lucene for information retrieval. you need to set the classpath
after downloading lucene:
setenv LUCENEDIR /opt/lucene-2.4.1
setenv CLASSPATH .:./lucene-core-2.4.1.jar:
./lucene-demos-2.4.1.jar:./lukemin-0.9.2.jar:
$LUCENEDIR/lucene-core-2.4.1.jar:$LUCENEDIR/lucene-demos-2.4.1.jar:
$LUCENEDIR/lukemin-0.9.2.jar:$CLASSPATH
That error means that is not an executable jar. Perhaps you should put all the jars in your classpath, then start with the demo at http://lucene.apache.org/java/3_0_0/demo.html .
Skaffman is correct. Here's a minimal Lucene application. If you want a self-contained search server, try Solr.