An IndexReader which reads multiple indexes, appending their content.
doClose
protected void doClose()
throws IOException
- doClose in interface IndexReader
doCommit
protected void doCommit()
throws IOException
- doCommit in interface IndexReader
doDelete
protected void doDelete(int n)
throws IOException
- doDelete in interface IndexReader
doSetNorm
protected void doSetNorm(int n,
String field,
byte value)
throws IOException
- doSetNorm in interface IndexReader
doUndeleteAll
protected void doUndeleteAll()
throws IOException
- doUndeleteAll in interface IndexReader
docFreq
public int docFreq(Term t)
throws IOException
- docFreq in interface IndexReader
getIndexedFieldNames
public Collection getIndexedFieldNames(boolean storedTermVector)
- getIndexedFieldNames in interface IndexReader
getTermFreqVector
public TermFreqVector getTermFreqVector(int n,
String field)
throws IOException
- getTermFreqVector in interface IndexReader
getTermFreqVectors
public TermFreqVector[] getTermFreqVectors(int n)
throws IOException
Return an array of term frequency vectors for the specified document.
The array contains a vector for each vectorized field in the document.
Each vector vector contains term numbers and frequencies for all terms
in a given vectorized field.
If no such fields existed, the method returns null.
- getTermFreqVectors in interface IndexReader
hasDeletions
public boolean hasDeletions()
- hasDeletions in interface IndexReader
isDeleted
public boolean isDeleted(int n)
- isDeleted in interface IndexReader
maxDoc
public int maxDoc()
- maxDoc in interface IndexReader
norms
public byte[] norms(String field)
throws IOException
- norms in interface IndexReader
norms
public void norms(String field,
byte[] result,
int offset)
throws IOException
- norms in interface IndexReader
numDocs
public int numDocs()
- numDocs in interface IndexReader