01 package gate.creole.annic.apache.lucene.index;
02
03 /** Extends <code>TermFreqVector</code> to provide additional information about
04 * positions in which each of the terms is found.
05 */
06 public interface TermPositionVector extends TermFreqVector {
07
08 /** Returns an array of positions in which the term is found.
09 * Terms are identified by the index at which its number appears in the
10 * term number array obtained from <code>getTermNumbers</code> method.
11 */
12 public int[] getTermPositions(int index);
13 }
|