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.
Version:
- Anders Nielsen
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
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
- an
int
value
TermDocs.read(int[],int[])
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
target
- an int
value
- a
boolean
value
TermDocs.skipTo(int)
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.