| Package | Description | 
|---|---|
| org.terrier.querying | 
 Provides the interfaces and classes for the querying 
API of the Terrier platform, the controls, post processors
and filters. 
 | 
| org.terrier.realtime.memory | 
 Provides MemoryIndex structures. 
 | 
| org.terrier.realtime.memory.fields | 
 Provides MemoryIndex structures that support field search. 
 | 
| org.terrier.realtime.multi | 
 Provides MultiIndex structures. 
 | 
| org.terrier.structures | 
 Provides the classes that implement the data structures used 
for retrieval with the Terrier platform. 
 | 
| org.terrier.structures.bit | 
 Provides on-disk index structures that support the older bit-level compression scheme. 
 | 
| org.terrier.structures.integer | 
 Provides generic posting index classes that support byte-level compression. 
 | 
| org.terrier.structures.postings.bit | 
 Provides bit-level IterablePosting implementations. 
 | 
| org.terrier.structures.postings.integer | 
 Provides byte-level IterablePosting implementations. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected DocumentIndex | 
QueryExpansion.documentIndex
The document index used for retrieval. 
 | 
protected DocumentIndex | 
DFRBagExpansionTerms.documentIndex  | 
protected DocumentIndex | 
RelevanceFeedbackSelectorDocids.doi  | 
| Constructor and Description | 
|---|
DFRBagExpansionTerms(CollectionStatistics collStats,
                    Lexicon<String> _lexicon,
                    PostingIndex<Pointer> _directIndex,
                    DocumentIndex _documentIndex)
Constructs an instance of ExpansionTerms. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
MemoryDocumentIndex
An in-memory version of the Document index. 
 | 
class  | 
MemoryDocumentIndexMap
This class is a special variant of the Memory index class where the
 Document index is backed by a fast mapping structure in memory. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected DocumentIndex | 
MemoryIterablePosting.doi  | 
protected DocumentIndex | 
MemoryInvertedIndex.doi  | 
| Modifier and Type | Method and Description | 
|---|---|
DocumentIndex | 
MemoryIndex.getDocumentIndex()
Return the DocumentIndex associated with this index 
 | 
DocumentIndex | 
MemoryInvertedIndex.getDoi()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
MemoryInvertedIndex.setDoi(DocumentIndex doi)  | 
| Constructor and Description | 
|---|
MemoryDirectIndex(DocumentIndex doi)
Constructor. 
 | 
MemoryInvertedIndex(Lexicon<String> lex,
                   DocumentIndex doi)
Constructor. 
 | 
MemoryIterablePosting(DocumentIndex doi,
                     gnu.trove.TIntArrayList pl_doc,
                     gnu.trove.TIntArrayList pl_freq)
Constructor. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
MemoryDocumentIndexFields
Document index (fields). 
 | 
class  | 
MemoryDocumentIndexFieldsMap
A memory document index structure that supports fields and fast lookups via
 a map structure. 
 | 
| Constructor and Description | 
|---|
MemoryFieldsInvertedIndex(Lexicon<String> lexicon,
                         DocumentIndex docindex)
Constructor. 
 | 
MemoryFieldsIterablePosting(DocumentIndex docindex,
                           gnu.trove.TIntArrayList docids,
                           gnu.trove.TIntArrayList freqs,
                           gnu.trove.TIntObjectHashMap<int[]> fields)
Constructor (docid,freq,(fields)). 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
MultiDoc
A Document index class that represents multiple document indices from
 different shards. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DocumentIndex | 
MultiIndex.getDocumentIndex()
Return the DocumentIndex associated with this index 
 | 
| Constructor and Description | 
|---|
MultiDoc(DocumentIndex[] docs,
        int[] offsets)
constructor. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
FieldDocumentIndex
Interface for a fields document index 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
FSADocumentIndex
Document Index saved as a fixed size array 
 | 
class  | 
FSAFieldDocumentIndex
Fields document index stored as a fixed size array 
 | 
static class  | 
PostingIndex.DocidSpecificDocumentIndex  | 
| Modifier and Type | Method and Description | 
|---|---|
DocumentIndex | 
IndexOnDisk.getDocumentIndex()  | 
abstract DocumentIndex | 
Index.getDocumentIndex()
Return the DocumentIndex associated with this index 
 | 
| Constructor and Description | 
|---|
PostingIndex.DocidSpecificDocumentIndex(DocumentIndex _di,
                                       DocumentIndexEntry _die)  | 
| Modifier and Type | Field and Description | 
|---|---|
protected DocumentIndex | 
DirectIndex.docIndex
Deprecated.  
The document index employed for retrieving the document offsets. 
 | 
protected DocumentIndex | 
InvertedIndex.doi
Deprecated.  
  | 
protected DocumentIndex | 
BitPostingIndexInputStream.doi  | 
protected DocumentIndex | 
BitPostingIndex.doi  | 
| Modifier and Type | Method and Description | 
|---|---|
protected DocumentIndex | 
DirectIndexInputStream.getDocumentIndex(BitIndexPointer pointer)
Deprecated.  
  | 
protected DocumentIndex | 
BitPostingIndexInputStream.getDocumentIndex(BitIndexPointer pointer)  | 
| Constructor and Description | 
|---|
BitPostingIndex(IndexOnDisk _index,
               String _structureName,
               DocumentIndex _documentIndex,
               Class<? extends IterablePosting> _postingImplementation)
Constructs an instance of the BitPostingIndex. 
 | 
BitPostingIndex(String filename,
               byte fileCount,
               DocumentIndex _doi,
               Class<? extends IterablePosting> _postingImplementation,
               String _dataSource,
               int _fieldCount)  | 
BlockInvertedIndex(IndexOnDisk index,
                  String structureName,
                  DocumentIndex doi)
Deprecated.  
Constructs an instance of the class with 
 | 
BlockInvertedIndex(IndexOnDisk index,
                  String structureName,
                  DocumentIndex _doi,
                  Class<? extends IterablePosting> postingClass)
Deprecated.  
Constructs an instance of the class with 
 | 
InvertedIndex(IndexOnDisk index,
             String structureName,
             DocumentIndex _doi)
Deprecated.  
Construct an instance of the class with 
 | 
InvertedIndex(IndexOnDisk index,
             String structureName,
             DocumentIndex _doi,
             Class<? extends IterablePosting> postingClass)
Deprecated.  
Construct an instance of the class with 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected DocumentIndex | 
IntegerCodingPostingIndexInputStream.documentIndex  | 
protected DocumentIndex | 
IntegerCodingPostingIndex.documentIndex  | 
| Modifier and Type | Method and Description | 
|---|---|
protected DocumentIndex | 
IntegerCodingPostingIndexInputStream.getDocumentIndex(BitIndexPointer pointer)  | 
| Modifier and Type | Field and Description | 
|---|---|
protected DocumentIndex | 
BasicIterablePosting.doi  | 
| Constructor and Description | 
|---|
BasicIterablePosting(BitIn _bitFileReader,
                    int _numEntries,
                    DocumentIndex _doi)
Create a new posting iterator 
 | 
BasicIterablePostingDocidOnly(BitIn _bitFileReader,
                             int _numEntries,
                             DocumentIndex _doi)
Create a new posting iterator 
 | 
BlockFieldIterablePosting(BitIn _bitFileReader,
                         int _numEntries,
                         DocumentIndex doi,
                         int _fieldCount)
Make a new posting iterator that is read from a BitIn stream. 
 | 
BlockIterablePosting(BitIn _bitFileReader,
                    int _numEntries,
                    DocumentIndex doi)
Constructs an instance of the BlockIterablePosting. 
 | 
FieldIterablePosting(BitIn fileReader,
                    int entries,
                    DocumentIndex _doi,
                    int _fieldCount)
constructor 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected DocumentIndex | 
IntegerCodingIterablePosting.documentIndex
Deprecated.  
  | 
protected DocumentIndex | 
BasicIntegerCodingIterablePosting.documentIndex  | 
| Constructor and Description | 
|---|
BasicIntegerCodingIterablePosting(ByteIn input,
                                 int numberOfEntries,
                                 DocumentIndex documentIndex,
                                 int chunkSize,
                                 IntegerCodec idsCodec,
                                 IntegerCodec tfsCodec)  | 
BlockFieldIntegerCodingIterablePosting(ByteIn input,
                                      int numberOfEntries,
                                      DocumentIndex documentIndex,
                                      int chunkSize,
                                      int fieldCount,
                                      int hasBlocks,
                                      IntegerCodec idsCodec,
                                      IntegerCodec tfsCodec,
                                      IntegerCodec fieldsCodec,
                                      IntegerCodec blocksCodec)  | 
BlockIntegerCodingIterablePosting(ByteIn input,
                                 int numberOfEntries,
                                 DocumentIndex documentIndex,
                                 int chunkSize,
                                 int hasBlocks,
                                 IntegerCodec idsCodec,
                                 IntegerCodec tfsCodec,
                                 IntegerCodec blocksCodec)  | 
FieldIntegerCodingIterablePosting(ByteIn input,
                                 int numberOfEntries,
                                 DocumentIndex documentIndex,
                                 int chunkSize,
                                 int fieldCount,
                                 IntegerCodec idsCodec,
                                 IntegerCodec tfsCodec,
                                 IntegerCodec fieldsCodec)  | 
IntegerCodingIterablePosting(ByteIn input,
                            int numberOfEntries,
                            DocumentIndex documentIndex,
                            int chunkSize,
                            int fieldCount,
                            int hasBlocks,
                            IntegerCodec idsCodec,
                            IntegerCodec tfsCodec,
                            IntegerCodec fieldsCodec,
                            IntegerCodec blocksCodec)
Deprecated.  
  | 
Terrier 4.0. Copyright © 2004-2014 University of Glasgow