public class StandardIndexReaderFactory extends IndexReaderFactory
IndexReader.open(Directory)termInfosIndexDivisor| Constructor and Description |
|---|
StandardIndexReaderFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.index.IndexReader |
newReader(org.apache.lucene.store.Directory indexDir,
boolean readOnly)
Creates a new IndexReader instance using the given Directory.
|
getTermInfosIndexDivisor, initpublic org.apache.lucene.index.IndexReader newReader(org.apache.lucene.store.Directory indexDir,
boolean readOnly)
throws IOException
IndexReaderFactorynewReader in class IndexReaderFactoryindexDir - indexDir index locationreadOnly - return readOnly IndexReaderIOException