Class TermVectorEntry
- java.lang.Object
-
- org.apache.lucene.luke.models.documents.TermVectorEntry
-
public final class TermVectorEntry extends Object
Holder for term vector entry representing the term and their number of occurrences, and optionally, positions in the document field.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TermVectorEntry.TermVectorPosition
Holder for position information for a term vector entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
getTermText
public String getTermText()
Returns the string representation for this term.
-
getFreq
public long getFreq()
Returns the number of occurrences of this term in the document field.
-
getPositions
public List<TermVectorEntry.TermVectorPosition> getPositions()
Returns the list of positions for this term in the document field.
-
-