public class LuceneFormSearchFactory extends Object
| Constructor and Description |
|---|
LuceneFormSearchFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.analysis.Analyzer |
getAnalyzer()
Return the Analyzer to use for the search
|
org.apache.lucene.search.IndexSearcher |
getIndexSearcher()
Return the IndexSearcher to use for the search
|
org.apache.lucene.index.IndexWriter |
getIndexWriter(org.apache.commons.lang.mutable.MutableBoolean bCreateIndex)
Create the IndexWriter with its configuration
|
public org.apache.lucene.analysis.Analyzer getAnalyzer()
public org.apache.lucene.search.IndexSearcher getIndexSearcher()
throws IOException
IOException - - if there is a low-level IO errorpublic org.apache.lucene.index.IndexWriter getIndexWriter(org.apache.commons.lang.mutable.MutableBoolean bCreateIndex)
bCreateIndex - The boolean which tell if the index must be createdIOException - - if there is a low level IO errorCopyright © 2019 City of Paris. All rights reserved.