org.apache.lucene.index
Class TermVectorEntry
java.lang.Object
org.apache.lucene.index.TermVectorEntry
public class TermVectorEntry
- extends Object
Convenience class for holding TermVector information.
TermVectorEntry
public TermVectorEntry()
TermVectorEntry
public TermVectorEntry(String field,
String term,
int frequency,
TermVectorOffsetInfo[] offsets,
int[] positions)
getField
public String getField()
getFrequency
public int getFrequency()
getOffsets
public TermVectorOffsetInfo[] getOffsets()
getPositions
public int[] getPositions()
getTerm
public String getTerm()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.