Lucene Demo

Index file
java -cp /home/nqminh/lucene-3.1.0/lucene-core-3.1.0.jar:/home/nqminh/lucene-3.1.0/contrib/demo/lucene-demo-3.1.0.jar org.apache.lucene.demo.IndexFiles -docs /home/nqminh/lucene-3.1.0/TestData/
Search the Index
java -cp /home/nqminh/lucene-3.1.0/lucene-core-3.1.0.jar:/home/nqminh/lucene-3.1.0/contrib/demo/lucene-demo-3.1.0.jar org.apache.lucene.demo.SearchFiles
Underline dash can be USED.
Advertisements
This entry was posted in Programming. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s