org.apache.lucene.index

Class MultipleTermPositions

public class MultipleTermPositions extends Object implements TermPositions

Describe class MultipleTermPositions here.

Version: 1.0

Author: Anders Nielsen

Constructor Summary
MultipleTermPositions(IndexReader indexReader, Term[] terms)
Creates a new MultipleTermPositions instance.
Method Summary
voidclose()
Describe close method here.
intdoc()
Describe doc method here.
intfreq()
Describe freq method here.
booleannext()
Describe next method here.
intnextPosition()
Describe nextPosition method here.
intread(int[] arg0, int[] arg1)
Describe read method here.
voidseek(Term arg0)
Describe seek method here.
voidseek(TermEnum termEnum)
booleanskipTo(int target)
Describe skipTo method here.

Constructor Detail

MultipleTermPositions

public MultipleTermPositions(IndexReader indexReader, Term[] terms)
Creates a new MultipleTermPositions instance.

Parameters: indexReader an IndexReader value terms a Term[] value

Throws: IOException if an error occurs

Method Detail

close

public final void close()
Describe close method here.

Throws: IOException if an error occurs

See Also: close

doc

public final int doc()
Describe doc method here.

Returns: an int value

See Also: doc

freq

public final int freq()
Describe freq method here.

Returns: an int value

See Also: freq

next

public final boolean next()
Describe next method here.

Returns: a boolean value

Throws: IOException if an error occurs

See Also: next

nextPosition

public final int nextPosition()
Describe nextPosition method here.

Returns: an int value

Throws: IOException if an error occurs

See Also: nextPosition

read

public int read(int[] arg0, int[] arg1)
Describe read method here.

Parameters: arg0 an int[] value arg1 an int[] value

Returns: an int value

Throws: IOException if an error occurs

See Also: (int[], int[])

seek

public void seek(Term arg0)
Describe seek method here.

Parameters: arg0 a Term value

Throws: IOException if an error occurs

See Also: seek

seek

public void seek(TermEnum termEnum)

skipTo

public final boolean skipTo(int target)
Describe skipTo method here.

Parameters: target an int value

Returns: a boolean value

Throws: IOException if an error occurs

See Also: TermDocs

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.