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 d,
String f,
byte b)
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
getFieldNames
public Collection getFieldNames()
throws IOException
- getFieldNames in interface IndexReader
getFieldNames
public Collection getFieldNames(boolean indexed)
throws IOException
- getFieldNames in interface IndexReader
getIndexedFieldNames
public Collection getIndexedFieldNames(boolean storedTermVector)
- getIndexedFieldNames in interface IndexReader
storedTermVector
- if true, returns only Indexed fields that have term vector info,
else only indexed fields without term vector info
- Collection of Strings indicating the names of the fields
getTermFreqVector
public TermFreqVector getTermFreqVector(int docNumber,
String field)
throws IOException
- getTermFreqVector in interface IndexReader
getTermFreqVectors
public TermFreqVector[] getTermFreqVectors(int docNumber)
throws IOException
- 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 f)
throws IOException
- norms in interface IndexReader
norms
public void norms(String f,
byte[] bytes,
int offset)
throws IOException
- norms in interface IndexReader
numDocs
public int numDocs()
- numDocs in interface IndexReader