1 package org.apache.lucene.index; 2 3 18 19 import java.io.IOException ; 20 21 29 30 public interface TermDocs { 31 34 void seek(Term term) throws IOException ; 35 36 39 void seek(TermEnum termEnum) throws IOException ; 40 41 43 int doc(); 44 45 47 int freq(); 48 49 51 boolean next() throws IOException ; 52 53 60 int read(int[] docs, int[] freqs) throws IOException ; 61 62 75 boolean skipTo(int target) throws IOException ; 76 77 78 void close() throws IOException ; 79 } 80 81 82 | Popular Tags |