org.apache.lucene.store.instantiated
Class InstantiatedTermDocumentInformation
java.lang.Object
org.apache.lucene.store.instantiated.InstantiatedTermDocumentInformation
- All Implemented Interfaces:
- Serializable
public class InstantiatedTermDocumentInformation
- extends Object
- implements Serializable
There is one instance of this class per indexed term in a document
and it contains the meta data about each occurrence of a term in a document.
It is the inner glue of the inverted index.
[Term]-- {0..*} | {0..*} --(field)[Document]
<<ordered>>
|
[TermDocumentInformation]
+payloads
+termPositions
+termOffsets
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
termComparator
public static final Comparator<InstantiatedTermDocumentInformation> termComparator
documentNumberComparator
public static final Comparator<InstantiatedTermDocumentInformation> documentNumberComparator
doumentNumberIntegerComparator
public static final Comparator doumentNumberIntegerComparator
InstantiatedTermDocumentInformation
public InstantiatedTermDocumentInformation(InstantiatedTerm term,
InstantiatedDocument document,
int[] termPositions,
byte[][] payloads)
getTermPositions
public int[] getTermPositions()
getPayloads
public byte[][] getPayloads()
getDocument
public InstantiatedDocument getDocument()
getTerm
public InstantiatedTerm getTerm()
getTermOffsets
public TermVectorOffsetInfo[] getTermOffsets()