public class LuceneAppointmentIndexFactory extends Object
| Constructor and Description |
|---|
LuceneAppointmentIndexFactory() |
| Modifier and Type | Method and Description |
|---|---|
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.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 © 2021 City of Paris. All rights reserved.