FullTextLucene.IndexAccess
A wrapper for the Lucene writer and searcher.
| Methods |
| void |
close()
Close the index.
|
| void |
close() throws IOException
Close the index.
|
| void |
commit()
Commit the changes.
|
| void |
commit() throws IOException
Commit the changes.
|
| IndexSearcher |
getSearcher()
Start using the searcher.
|
| IndexSearcher |
getSearcher()
Start using the searcher.
Returns:
the searcher
|
| void |
returnSearcher(IndexSearcher searcher)
Stop using the searcher.
|
| void |
returnSearcher(IndexSearcher searcher)
Stop using the searcher.
Parameters:
searcher - the searcher
|
| Fields |
| static IndexWriter |
writer
|
writer
The index writer.