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.store.Directory |
getDirectory()
Return the Directory to use for the search
|
org.apache.lucene.index.IndexWriter |
getIndexWriter(Boolean bCreateIndex)
Create the IndexWriter with its configuration
|
public org.apache.lucene.analysis.Analyzer getAnalyzer()
public org.apache.lucene.index.IndexWriter getIndexWriter(Boolean bCreateIndex)
bCreateIndex - The boolean which tell if the index must be createdIOException - - if there is a low level IO errorpublic org.apache.lucene.store.Directory getDirectory()
throws IOException
IOException - - if the path string cannot be converted to a PathCopyright © 2023 City of Paris. All rights reserved.