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