Package org.terrier.realtime.memory
Class MemoryDirectIndex.DocumentPostingList
- java.lang.Object
-
- org.terrier.realtime.memory.MemoryDirectIndex.DocumentPostingList
-
- Direct Known Subclasses:
MemoryFieldsDirectIndex.FieldDocumentPostingList
- Enclosing class:
- MemoryDirectIndex
public class MemoryDirectIndex.DocumentPostingList extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected gnu.trove.TIntArrayList
pl_termids
protected gnu.trove.TIntIntHashMap
termIds2frequencies
-
Constructor Summary
Constructors Constructor Description DocumentPostingList()
DocumentPostingList(int[] termids, int[] termfreqs)
DocumentPostingList(int termid, int tf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int termid, int tf)
gnu.trove.TIntArrayList
getPl_freq()
gnu.trove.TIntArrayList
getPl_termids()
-