protected final void doClose() throws IOException { fieldsReader.close(); tis.close(); if (freqStream != null) freqStream.close(); if (proxStream != null) proxStream.close(); closeNorms(); if (termVectorsReader != null) termVectorsReader.close(); if (cfsReader != null) cfsReader.close(); }
public final int docFreq(Term t) throws IOException { TermInfo ti = tis.get(t); if (ti != null) return ti.docFreq; else return 0; }
public final TermEnum terms(Term t) throws IOException { return tis.terms(t); }