|
|
|
|
TermFreqVector
|
|
|
public abstract interface
|
Interface Description
|
|
|
Provides access to stored term vector of
a document field.
|
Class Variables
|
|
|
None declared in this interface.
|
Instance Variables
|
|
|
None declared in this interface.
|
Constructors
|
|
|
None declared in this interface.
|
Class Methods
|
|
|
None declared in this interface.
|
Instance Methods
|
|
|
getField
public abstract String getField(
)
No description available for this method.
getTermFrequencies
public abstract int[] getTermFrequencies(
)
Array of term frequencies. Locations of the array correspond one to one
to the terms in the array obtained from getTerms
method. Each location in the array contains the number of times this
term occurs in the document or the document field.
getTerms
public abstract String[] getTerms(
)
No description available for this method.
indexesOf
public abstract int[] indexesOf(
String[] terms,
int start,
int len
)
Just like indexOf(int) but searches for a number of terms
at the same time. Returns an array that has the same size as the number
of terms searched for, each slot containing the result of searching for
that term number.
indexOf
public abstract int indexOf(
String term
)
Return an index in the term numbers array returned from
getTerms at which the term with the specified
term appears. If this term does not appear in the array,
return -1.
size
public abstract int size(
)
No description available for this method.
|
|
|