I am new to Java and Lucene. My code gets a line from a file and stores it in Lucene Index. But when I create an IndexReader
to search and read from the index it throws an exception.
My java code is below. On creating the IndexReader
it throws an IndexNotFoundException
Read full article from java - org.apache.lucene.index.IndexNotFoundException: no segments* file found in org.apache.lucene.store.RAMDirectory - Stack Overflow
No comments:
Post a Comment