| Package | Description | 
|---|---|
| org.terrier.matching | 
 Provides the classes and interfaces used for matching documents
to queries. 
 | 
| org.terrier.matching.dsms | 
 Provides the interface and the classes for modifying the scores
of documents after an score has been assigned to documents, or 
implementing the combination of evidence. 
 | 
| 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.indexing | 
 Provides the classes used for creating the data structures of 
the Terrier platform. 
 | 
| org.terrier.structures.indexing.classical | 
 Provides functionality for creating on-disk indices via indexer classes. 
 | 
| org.terrier.structures.indexing.singlepass | 
 Provides implementation of the structures needed for performing a single
pass indexing 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected List<Map.Entry<String,LexiconEntry>> | 
BaseMatching.queryTermsToMatchList  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
DependenceScoreModifier.openPostingLists(Index index,
                LexiconEntry[] les,
                IterablePosting[] ips)
Opens the posting list for an index and lexicon entry 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
MemoryLexiconEntry
A lexicon entry stored in a MemoryLexicon. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Iterator<Map.Entry<String,LexiconEntry>> | 
MemoryLexicon.iterator()
Lexicon iterator. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
MemoryFieldsLexiconEntry
Lexicon entry (fields). 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
MultiLexiconEntry
A Lexicon entry that spans multiple index shards. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
LexiconEntry[] | 
MultiLexiconEntry.getChildren()
Return LexiconEntry's. 
 | 
LexiconEntry | 
MultiLexicon.getLexiconEntry(String term)
Get the LexiconEntry (contains statistics and a pointer) for the given term. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Map.Entry<String,LexiconEntry> | 
MultiLexicon.getIthLexiconEntry(int index)
This is an invalid method since a lexicon entry can appear in any number of
 lexicons. 
 | 
Map.Entry<String,LexiconEntry> | 
MultiLexicon.getLexiconEntry(int termid)
Get the term and LexiconEntry (contains statistics and a pointer) for
 a given term id. 
 | 
Map.Entry<String,LexiconEntry> | 
MultiLexicon.getLexiconEntry(int termid,
               int shard)
This is an extra lexicon entry method for fast lookups of LexiconEntry's
 by term id. 
 | 
Iterator<Map.Entry<String,LexiconEntry>> | 
MultiLexicon.getLexiconEntryRange(String from,
                    String to)  | 
Iterator<Map.Entry<String,LexiconEntry>> | 
MultiLexicon.iterator()
Not implemented. 
 | 
| Constructor and Description | 
|---|
MultiLexiconEntry(LexiconEntry[] le)
Constructor. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BasicLexiconEntry
Contains all the information about one entry in the Lexicon. 
 | 
class  | 
BasicTermStatsLexiconEntry
A LexiconEntry which only contains EntryStatistics 
 | 
class  | 
BlockFieldLexiconEntry
A LexiconEntry with field support 
 | 
class  | 
BlockLexiconEntry
Deprecated.   
 | 
class  | 
FieldLexiconEntry
A LexiconEntry with field support 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected Iterator<Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> | 
FSOMapFileLexicon.MapFileLexiconEntryIterator.internalIterator  | 
protected Map<org.apache.hadoop.io.Text,LexiconEntry> | 
MapLexicon.map  | 
protected Iterator<Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> | 
FSOMapFileLexicon.MapFileLexiconIterator.parent  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract LexiconEntry | 
Lexicon.getLexiconEntry(KEY term)
Get the LexiconEntry (contains statistics and a pointer) for the given term. 
 | 
LexiconEntry | 
MapLexicon.getLexiconEntry(String term)
Get the LexiconEntry (contains statistics and a pointer) for the given term. 
 | 
LexiconEntry | 
FieldLexiconEntry.Factory.newInstance()
Make a new instance of T 
 | 
LexiconEntry | 
BlockLexiconEntry.Factory.newInstance()
Make a new instance of T 
 | 
LexiconEntry | 
BlockFieldLexiconEntry.Factory.newInstance()
Make a new instance of T 
 | 
LexiconEntry | 
BasicLexiconEntry.Factory.newInstance()
Make a new instance of T 
 | 
LexiconEntry | 
FSOMapFileLexicon.MapFileLexiconEntryIterator.next() | 
| Modifier and Type | Method and Description | 
|---|---|
Map.Entry<String,LexiconEntry> | 
MapLexicon.getIthLexiconEntry(int index)
Get the term and LexiconEntry (contains statistics and a pointer) for
 the entry in the lexicon with the specified index. 
 | 
abstract Map.Entry<KEY,LexiconEntry> | 
Lexicon.getIthLexiconEntry(int index)
Get the term and LexiconEntry (contains statistics and a pointer) for
 the entry in the lexicon with the specified index. 
 | 
Map.Entry<String,LexiconEntry> | 
MapLexicon.getLexiconEntry(int termid)
Get the term and LexiconEntry (contains statistics and a pointer) for
 a given term id. 
 | 
abstract Map.Entry<KEY,LexiconEntry> | 
Lexicon.getLexiconEntry(int termid)
Get the term and LexiconEntry (contains statistics and a pointer) for
 a given term id. 
 | 
abstract Iterator<Map.Entry<KEY,LexiconEntry>> | 
Lexicon.getLexiconEntryRange(KEY from,
                    KEY to)
Returns an iterator over a set of LexiconEntries within a range of
 entries in the lexicon. 
 | 
Iterator<Map.Entry<String,LexiconEntry>> | 
MapLexicon.getLexiconEntryRange(String from,
                    String to)
Returns an iterator over a set of LexiconEntries within a range of
 entries in the lexicon. 
 | 
Iterator<Map.Entry<String,LexiconEntry>> | 
FSOMapFileLexicon.iterator() | 
Map.Entry<String,LexiconEntry> | 
FSOMapFileLexicon.MapFileLexiconIterator.next() | 
| Modifier and Type | Method and Description | 
|---|---|
abstract int | 
LexiconOutputStream.writeNextEntry(KEY _key,
              LexiconEntry _value)
Writes a lexicon entry. 
 | 
int | 
FSOMapFileLexiconOutputStream.writeNextEntry(String _key,
              LexiconEntry _value)  | 
| Constructor and Description | 
|---|
FSOMapFileLexicon.MapFileLexiconEntryIterator(Iterator<Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> _internalIterator)
Construct an instance of the class with 
 | 
FSOMapFileLexicon.MapFileLexiconEntryIterator(String filename,
                                             FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory,
                                             FixedSizeWriteableFactory<LexiconEntry> valueFactory)
Construct an instance of the class with 
 | 
FSOMapFileLexicon.MapFileLexiconEntryIterator(String structureName,
                                             String path,
                                             String prefix,
                                             FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory,
                                             FixedSizeWriteableFactory<LexiconEntry> valueFactory)
Construct an instance of the class with 
 | 
FSOMapFileLexicon.MapFileLexiconIterator(Iterator<Map.Entry<org.apache.hadoop.io.Text,LexiconEntry>> _parent)
Construct an instance of the class with 
 | 
FSOMapFileLexicon.MapFileLexiconIterator(String filename,
                                        FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory,
                                        FixedSizeWriteableFactory<LexiconEntry> valueFactory)
Construct an instance of the class with 
 | 
FSOMapFileLexicon.MapFileLexiconIterator(String structureName,
                                        String path,
                                        String prefix,
                                        FixedSizeWriteableFactory<org.apache.hadoop.io.Text> keyFactory,
                                        FixedSizeWriteableFactory<LexiconEntry> valueFactory)
Construct an instance of the class with 
 | 
FSOMapFileLexicon(String structureName,
                 String path,
                 String prefix,
                 FixedSizeWriteableFactory<org.apache.hadoop.io.Text> _keyFactory,
                 FixedSizeWriteableFactory<LexiconEntry> _valueFactory,
                 String termIdLookup,
                 String termLookup,
                 String dataFile)
Construct an instance of the class with 
 | 
FSOMapFileLexiconOutputStream(IndexOnDisk _index,
                             String _structureName,
                             Class<? extends FixedSizeWriteableFactory<LexiconEntry>> valueFactoryClass)
Construct an instance of the class with 
 | 
FSOMapFileLexiconOutputStream(IndexOnDisk _index,
                             String _structureName,
                             FixedSizeWriteableFactory<org.apache.hadoop.io.Text> _keyFactory,
                             Class<? extends FixedSizeWriteableFactory<LexiconEntry>> valueFactoryClass)
Construct an instance of the class with 
 | 
MapLexicon(Map<org.apache.hadoop.io.Text,LexiconEntry> backingMap)
Construct an instance of the class with 
 | 
MapLexicon(Map<org.apache.hadoop.io.Text,LexiconEntry> backingMap,
          MapLexicon.Id2EntryIndexLookup idlookupobject)
Construct an instance of the class with 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int[][] | 
InvertedIndex.getDocuments(LexiconEntry le)
Deprecated.  
Get the documents for the specified term (lexicon entry for the term) 
 | 
| Constructor and Description | 
|---|
BlockInvertedIndexInputStream(IndexOnDisk _index,
                             String structureName,
                             Iterator<? extends LexiconEntry> lexInputStream)
Deprecated.  
Construct an instance of the class with 
 | 
BlockInvertedIndexInputStream(IndexOnDisk _index,
                             String structureName,
                             Iterator<? extends LexiconEntry> lexInputStream,
                             Class<? extends IterablePosting> _postingIteratorClass)
Deprecated.  
Construct an instance of the class with 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected FixedSizeWriteableFactory<LexiconEntry> | 
LexiconBuilder.valueFactory  | 
| Modifier and Type | Method and Description | 
|---|---|
protected LexiconEntry | 
LexiconBuilder.newLexiconEntry(int termid)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Iterator<Map.Entry<String,LexiconEntry>> | 
LexiconBuilder.getLexInputStream(String structureName)
return the lexicon input stream for the current index at the specified filename 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
LexiconBuilder.CollectionStatisticsCounter.count(LexiconEntry value)
The current count 
 | 
void | 
LexiconBuilder.FieldLexiconCollectionStaticticsCounter.count(LexiconEntry value)  | 
void | 
LexiconBuilder.NullCollectionStatisticsCounter.count(LexiconEntry value)  | 
void | 
LexiconBuilder.BasicLexiconCollectionStaticticsCounter.count(LexiconEntry value)
The current count 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
LexiconBuilder.mergeTwoLexicons(Iterator<Map.Entry<String,LexiconEntry>> lis1,
                Iterator<Map.Entry<String,LexiconEntry>> lis2,
                LexiconOutputStream<String> los)
Merge the two LexiconInputStreams into the given LexiconOutputStream 
 | 
protected void | 
LexiconBuilder.mergeTwoLexicons(Iterator<Map.Entry<String,LexiconEntry>> lis1,
                Iterator<Map.Entry<String,LexiconEntry>> lis2,
                LexiconOutputStream<String> los)
Merge the two LexiconInputStreams into the given LexiconOutputStream 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected gnu.trove.TIntArrayList[] | 
InvertedIndexBuilder.createPointerForTerm(LexiconEntry le)  | 
protected gnu.trove.TIntArrayList[] | 
BlockInvertedIndexBuilder.createPointerForTerm(LexiconEntry le)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected InvertedIndexBuilder.IntLongTuple | 
InvertedIndexBuilder.scanLexiconForPointers(long PointersToProcess,
                      Iterator<Map.Entry<String,LexiconEntry>> lexiconStream,
                      gnu.trove.TIntIntHashMap codesHashMap,
                      ArrayList<gnu.trove.TIntArrayList[]> tmpStorageStorage)
Iterates through the lexicon, until it has reached the given number of pointers 
 | 
protected InvertedIndexBuilder.IntLongTuple | 
InvertedIndexBuilder.scanLexiconForTerms(int _processTerms,
                   Iterator<Map.Entry<String,LexiconEntry>> lexiconStream,
                   gnu.trove.TIntIntHashMap codesHashMap,
                   gnu.trove.TIntArrayList[][] tmpStorage)
Iterates through the lexicon, until it has reached the given number of terms 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected LexiconEntry | 
RunsMerger.termStatistics  | 
| Modifier and Type | Method and Description | 
|---|---|
LexiconEntry | 
PostingInRun.getLexiconEntry()
Return the LexiconEntry for this Posting 
 | 
LexiconEntry | 
FieldPostingInRun.getLexiconEntry()  | 
LexiconEntry | 
BlockFieldPostingInRun.getLexiconEntry()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PostingInRun.addToLexiconEntry(LexiconEntry le)
Add statistics for this posting onto the given LexiconEntry 
 | 
void | 
FieldPostingInRun.addToLexiconEntry(LexiconEntry _le)  | 
void | 
BlockFieldPostingInRun.addToLexiconEntry(LexiconEntry _le)  | 
Terrier 4.0. Copyright © 2004-2014 University of Glasgow