public final class TermVectorEntry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TermVectorEntry.TermVectorPosition
Holder for position information for a term vector entry.
|
Modifier and Type | Method and Description |
---|---|
long |
getFreq()
Returns the number of occurrences of this term in the document field.
|
List<TermVectorEntry.TermVectorPosition> |
getPositions()
Returns the list of positions for this term in the document field.
|
String |
getTermText()
Returns the string representation for this term.
|
String |
toString() |
public String getTermText()
public long getFreq()
public List<TermVectorEntry.TermVectorPosition> getPositions()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.