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, init
public IndexReader newReader(Directory indexDir, boolean readOnly) throws IOException
IndexReaderFactory
newReader
in class IndexReaderFactory
indexDir
- indexDir index locationreadOnly
- return readOnly IndexReaderIOException