Home » lucene-3.0.1-src » org.apache » lucene » index » [javadoc | source]
org.apache.lucene.index
public class: MultipleTermPositions [javadoc | source]
java.lang.Object
   org.apache.lucene.index.MultipleTermPositions

All Implemented Interfaces:
    TermPositions

Allows you to iterate over the TermPositions for multiple Term s as a single TermPositions .
Constructor:
 public MultipleTermPositions(IndexReader indexReader,
    Term[] terms) throws IOException 
    Creates a new MultipleTermPositions instance.
    Throws:
    IOException -
    exception: IOException -
Method from org.apache.lucene.index.MultipleTermPositions Summary:
close,   doc,   freq,   getPayload,   getPayloadLength,   isPayloadAvailable,   next,   nextPosition,   read,   seek,   seek,   skipTo
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.index.MultipleTermPositions Detail:
 public final  void close() throws IOException 
 public final int doc() 
 public final int freq() 
 public byte[] getPayload(byte[] data,
    int offset) throws IOException 
    Not implemented.
 public int getPayloadLength() 
    Not implemented.
 public boolean isPayloadAvailable() 
 public final boolean next() throws IOException 
 public final int nextPosition() 
 public int read(int[] arg0,
    int[] arg1) throws IOException 
    Not implemented.
 public  void seek(Term arg0) throws IOException 
    Not implemented.
 public  void seek(TermEnum termEnum) throws IOException 
    Not implemented.
 public final boolean skipTo(int target) throws IOException