org.apache.lucene.index
Class MultipleTermPositions
java.lang.Object
org.apache.lucene.index.MultipleTermPositions
- TermDocs, TermPositions
public class MultipleTermPositions
extends java.lang.Object
Describe class MultipleTermPositions
here.
void | close() - Describe
close method here.
|
int | doc() - Describe
doc method here.
|
int | freq() - Describe
freq method here.
|
boolean | next() - Describe
next method here.
|
int | nextPosition() - Describe
nextPosition method here.
|
int | read(int[] arg0, int[] arg1) - Describe
read method here.
|
void | seek(Term arg0) - Describe
seek method here.
|
void | seek(TermEnum termEnum) - Sets this to the data for the current term in a
TermEnum .
|
boolean | skipTo(int target) - Describe
skipTo method here.
|
MultipleTermPositions
public MultipleTermPositions(IndexReader indexReader,
Term[] terms)
throws IOException
Creates a new MultipleTermPositions
instance.
indexReader
- an IndexReader
valueterms
- a Term[]
value
close
public final void close()
throws IOException
Describe close
method here.
- close in interface TermDocs
doc
public final int doc()
Describe doc
method here.
- doc in interface TermDocs
freq
public final int freq()
Describe freq
method here.
- freq in interface TermDocs
next
public final boolean next()
throws IOException
Describe next
method here.
- next in interface TermDocs
nextPosition
public final int nextPosition()
throws IOException
Describe nextPosition
method here.
- nextPosition in interface TermPositions
read
public int read(int[] arg0,
int[] arg1)
throws IOException
Describe read
method here.
- read in interface TermDocs
arg0
- an int[]
valuearg1
- an int[]
value
seek
public void seek(Term arg0)
throws IOException
Describe seek
method here.
- seek in interface TermDocs
seek
public void seek(TermEnum termEnum)
throws IOException
Sets this to the data for the current term in a
TermEnum
.
This may be optimized in some implementations.
- seek in interface TermDocs
skipTo
public final boolean skipTo(int target)
throws IOException
Describe skipTo
method here.
- skipTo in interface TermDocs
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.