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