| Package | Description | 
|---|---|
| org.terrier.applications | Provides application-level code that use the Terrier platform to 
perform indexing and retrieval from either standard test collections, 
interactive querying of a indexed collection, or desktop search. | 
| org.terrier.applications.batchquerying | Contains application-level programs for performing batch-based query operations, such as generating runs for TREC. | 
| org.terrier.matching | Provides the classes and interfaces used for matching documents
to queries. | 
| org.terrier.matching.daat | Provides classes that implement a document-at-a-time (DAAT) matching strategy. | 
| 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.matching.models | Provides the classes that implement various weighting models. | 
| org.terrier.matching.taat | Provides classes that implement a term-at-a-time (TAAT) matching strategy. | 
| org.terrier.matching.tsms | Provides the interface and classes that implement the term
score modifiers, which modify the scores assigned to documents
for a particular term. | 
| 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 | Provides index structures that support updating and real-time retrieval. | 
| org.terrier.realtime.incremental | Provides incremental indexing functionality. | 
| org.terrier.realtime.matching | Provides additional matching implementations specifically for real-time index structures. | 
| 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.singlepass | Provides implementation of the structures needed for performing a single
pass indexing | 
| org.terrier.structures.indexing.singlepass.hadoop | Provides classes implemeting the Hadoop MapReduce indexing in Terrier. | 
| org.terrier.structures.integer | Provides generic posting index classes that support byte-level compression. | 
| org.terrier.structures.outputformat | Provides functionality for writing Terrier ResultSets to disk as .res files, e.g. | 
| org.terrier.utility.io | This package includes classes that are used for various IO duties within Terrier. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Index | InteractiveQuerying. indexThe data structures used. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Index | TRECQuerying. indexThe object that encapsulates the data structures used by Terrier. | 
| Modifier and Type | Method and Description | 
|---|---|
| Index | TRECQuerying. getIndex()Get the index pointer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TRECQuerying. setIndex(Index i)Set the index pointer. | 
| Constructor and Description | 
|---|
| TRECQuerying(Index i)TRECQuerying constructor initialises the specified inverted index, the
 lexicon and the document index structures. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Index | BaseMatching. indexThe index used for retrieval. | 
| protected Index | PostingListManager. indexunderlying index | 
| protected Index | TRECResultsMatching. indexThe underlying index. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Index | FatUtils. makeIndex(FatResultSet frs) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PostingListManager.PostingListManagerPlugin. processQuery(MatchingQueryTerms mqt,
            Index index,
            PostingListManager plm)process the query, given matchign query terms, index and posting list manager | 
| Constructor and Description | 
|---|
| BaseMatching(Index _index)Constructs an instance of the BaseMatching | 
| FatFeaturedScoringMatching(Index _index,
                          Matching _parent) | 
| FatFeaturedScoringMatching(Index _index,
                          Matching _parent,
                          String[] _featureNames) | 
| FatResultsMatching(Index i) | 
| FatScoringMatching(Index _index,
                  Matching _parent) | 
| FatScoringMatching(Index _index,
                  Matching _parent,
                  WeightingModel _wm) | 
| JforestsModelMatching(Index _index,
                     Matching _parent) | 
| JforestsModelMatching(Index _index,
                     Matching _parent,
                     String modelFilename) | 
| JforestsModelMatching(Index _index,
                     Matching _parent,
                     String modelFilename,
                     Class<? extends edu.uci.jforests.learning.trees.Tree> treeClass) | 
| LearnedModelMatching(Index _index,
                    Matching _parent) | 
| LinearModelMatching(Index _index,
                   Matching _parent) | 
| LinearModelMatching(Index _index,
                   Matching _parent,
                   double[] _weights) | 
| LinearModelMatching(Index _index,
                   Matching _parent,
                   String _modelFilename) | 
| PostingListManager(Index _index,
                  CollectionStatistics cs)Create a posting list manager for the given index and statistics | 
| PostingListManager(Index _index,
                  CollectionStatistics _cs,
                  MatchingQueryTerms mqt)Create a posting list manager for the given index and statistics, and populated using the specified
 MatchingQueryTerms. | 
| PostingListManager(Index _index,
                  CollectionStatistics _cs,
                  MatchingQueryTerms mqt,
                  boolean splitSynonyms)Create a posting list manager for the given index and statistics, and populated using the specified
 MatchingQueryTerms. | 
| TRECResultsMatching(Index _index)Contructs an instance of the TRECResultsMatching given an index. | 
| TRECResultsMatching(Index _index,
                   String _filename)Contructs an instance of the TRECResultsMatching. | 
| TRECResultsMatching(Index _index,
                   String _filename,
                   String defDSMs)Contructs an instance of the TRECResultsMatching. | 
| Constructor and Description | 
|---|
| FatFull(Index index) | 
| Full(Index index)Create a new Matching instance based on the specified index | 
| FullNoPLM(Index index)Create a new Matching instance based on the specified index | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | DependenceScoreModifier. doDependency(Index index,
            EntryStatistics[] es,
            IterablePosting[] ips,
            ResultSet rs,
            double[] phraseTermWeights,
            boolean SD) | 
| void | SimpleStaticScoreModifier. init(Index index)init | 
| protected void | SimpleStaticScoreModifier. loadDocno2score_seq(Index index) | 
| protected void | SimpleStaticScoreModifier. loadDocno2score(Index index) | 
| protected void | SimpleStaticScoreModifier. loadScorefile(Index index) | 
| boolean | DFRDependenceScoreModifier. modifyScores(Index index,
            MatchingQueryTerms terms,
            ResultSet set) | 
| boolean | DependenceScoreModifier. modifyScores(Index index,
            MatchingQueryTerms terms,
            ResultSet set)Modifies the scores of documents, in which there exist, or there does not
 exist a given phrase. | 
| boolean | BooleanFallback. modifyScores(Index index,
            MatchingQueryTerms queryTerms,
            ResultSet resultSet)Applies boolean fallback to the given result set. | 
| boolean | PhraseScoreModifier. modifyScores(Index index,
            MatchingQueryTerms terms,
            ResultSet resultSet) | 
| boolean | BooleanScoreModifier. modifyScores(Index index,
            MatchingQueryTerms query,
            ResultSet resultSet)Zeros the scores of documents in which only some
 of the query terms appear. | 
| boolean | ResetScores. modifyScores(Index index,
            MatchingQueryTerms queryTerms,
            ResultSet resultSet) | 
| boolean | MRFDependenceScoreModifier. modifyScores(Index index,
            MatchingQueryTerms terms,
            ResultSet set)Modifies the scores of documents, in which there exist, or there does not
 exist a given phrase. | 
| boolean | SimpleStaticScoreModifier. modifyScores(Index index,
            MatchingQueryTerms queryTerms,
            ResultSet set)Modifies the scores of the documents for a given 
 query. | 
| boolean | DocumentScoreModifier. modifyScores(Index index,
            MatchingQueryTerms queryTerms,
            ResultSet resultSet)Modifies the scores of the documents for a given 
 query. | 
| protected void | DependenceScoreModifier. openPostingLists(Index index,
                LexiconEntry[] les,
                IterablePosting[] ips)Opens the posting list for an index and lexicon entry | 
| void | DependenceScoreModifier. setCollectionStatistics(CollectionStatistics cs,
                       Index _index)Sets the collection statistics used to score the documents (number of documents in the collection, etc) | 
| void | MRFDependenceScoreModifier. setCollectionStatistics(CollectionStatistics cs,
                       Index _index)Sets the collection statistics used to score the documents (number of documents in the collection, etc) | 
| Modifier and Type | Method and Description | 
|---|---|
| static WeightingModel | WeightingModelFactory. newInstance(String name,
           Index index)Returns the requested weighting model for the specified index. | 
| Constructor and Description | 
|---|
| Full(Index index)Create a new Matching instance based on the specified index | 
| FullNoPLM(Index index)Create a new Matching instance based on the specified index | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Index | TermInFieldModifier. index | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TermInFieldModifier. setIndex(Index i)Tell the implementer which Index object it is associated with. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Index | Request. indexindex will not be passed across RMI | 
| protected Index | Manager. indexThe index this querying comes from | 
| protected Index | FeedbackSelector. index | 
| protected Index | QueryExpansion. lastIndex | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<Index,Map<String,Matching>> | Manager. Cache_MatchingCache loaded Matching models per Index in this map | 
| Modifier and Type | Method and Description | 
|---|---|
| Index | Request. getIndex()Returns the index to be used for this query | 
| Index | Manager. getIndex()Returns the index used by the manager. | 
| protected Index | QueryExpansion. getIndex(Manager m)For easier sub-classing of which index the query expansion comes from | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Request. setIndex(Index _index)Set the index to be used for this query | 
| void | FeedbackSelector. setIndex(Index _index)Set the index to be used | 
| void | RelevantOnlyFeedbackDocuments. setIndex(Index index)Set the index to be used | 
| void | RelevanceFeedbackSelector. setIndex(Index index)Set the index to be used | 
| void | RelevanceFeedbackSelectorDocids. setIndex(Index index)Set the index to be used | 
| protected void | Manager. useThisIndex(Index i)use the index specified for the Manager | 
| Constructor and Description | 
|---|
| Manager(Index _index)Construct a Manager using the specified Index
 Throws IllegalArgumentException if the specified index is null | 
| Modifier and Type | Method and Description | 
|---|---|
| Index | WritableIndex. write(String path,
     String prefix)Write all of the index structures to disk at the specified location | 
| Modifier and Type | Method and Description | 
|---|---|
| void | WritableIndex. collectProperties(Index memory,
                 Index newIndex,
                 CompressionFactory.CompressionConfiguration compressionConfig)Write the index properties to the .properties file. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | IncrementalIndexThis is the main Index class for an incremental index. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected static List<Index> | IncrementalMergePolicy. indices | 
| Modifier and Type | Method and Description | 
|---|---|
| static IncrementalFlushPolicy | IncrementalFlushPolicy. get(String policy,
   List<Index> indices,
   IncrementalIndex index)Create a new flush thread. | 
| static IncrementalMergePolicy | IncrementalMergePolicy. get(String policy,
   List<Index> indices,
   IncrementalIndex index)Create a new merge thread. | 
| protected List<Integer> | IncrementalDeletePolicy. getIndicesToDelete(List<Index> indices)Get a list of indices to delete (if any) | 
| protected List<Integer> | IncrementalDeleteFixedNumber. getIndicesToDelete(List<Index> indices)Get a list of indices to delete (if any) | 
| void | IncrementalDeletePolicy. runPolicy(List<Index> indices) | 
| Constructor and Description | 
|---|
| IncrementalIndex(Index[] indices) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Index> | IncrementalSelectiveMatching. getSelectedIndices(List<Index> indices)Return all indices (default) | 
| List<Index> | IncrementalSelectiveMostRecent. getSelectedIndices(List<Index> indices)Returns only the incremental.selectivematch.mostrecent indices. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Index> | IncrementalSelectiveMatching. getSelectedIndices(List<Index> indices)Return all indices (default) | 
| List<Index> | IncrementalSelectiveMostRecent. getSelectedIndices(List<Index> indices)Returns only the incremental.selectivematch.mostrecent indices. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MemoryIndexAn index held in fully memory. | 
| Modifier and Type | Method and Description | 
|---|---|
| Index | MemoryIndex. write(String path,
     String prefix)Write index structures to disk. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MemoryIndex. collectProperties(Index memory,
                 Index newIndex,
                 CompressionFactory.CompressionConfiguration compressionConfig)Collect index properties. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MemoryFieldsSuper-type of fields index implementations. | 
| class  | MemoryFieldsIndexAn in-memory incremental fields index (non-compressed). | 
| Modifier and Type | Method and Description | 
|---|---|
| Index | MemoryFieldsIndex. merge(String diskpath,
     String diskprefix,
     String newpath,
     String newprefix)Not implemented. | 
| Index | MemoryFieldsIndex. write(String path,
     String prefix)Write index structures to disk. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MemoryFields. collectProperties(Index memory,
                 Index index,
                 CompressionFactory.CompressionConfiguration compressionConfig)Collect index properties. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MultiIndexThe central MultiIndex structure. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected List<Index> | MultiIndex. indices | 
| Modifier and Type | Method and Description | 
|---|---|
| Index | MultiIndex. getIthShard(int i) | 
| Constructor and Description | 
|---|
| MultiIndex(Index[] indices)Constructor. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | IndexOnDiskThe replacement for what was Index in earlier Terrier versions. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | IndexUtil. configure(Index index,
         Object o)Configures an object with the index, if the object implements IndexConfigurable | 
| static boolean | IndexUtil. copyStructure(Index sourceIndex,
             Index destIndex,
             String sourceStructureName,
             String destinationStructureName)Copies an index structure from one index to another. | 
| static boolean | IndexUtil. deleteStructure(Index index,
               String structureName)Delete the named structure from the specified index. | 
| static void | IndexUtil. forceReloadStructure(Index index,
                    String structureName)Forces a structure to be reloaded, by removing it from the index's structure cache | 
| static void | IndexUtil. forceStructure(Index index,
              String structureName,
              Object structure)Force the specified object into the structure cache of the specified object, 
 as the given structure name | 
| static String[] | IndexUtil. getStructures(Index index)Returns a list of the structures in the given index | 
| static void | IndexUtil. printDocumentIndex(Index index,
                  String structureName)Print the contents of the document index | 
| static void | LexiconUtil. printLexicon(Index index,
            String structureName)Prints Lexicon | 
| static void | IndexUtil. printMetaIndex(Index index,
              String structureName)Print the contents of the meta index | 
| static boolean | IndexUtil. renameIndexStructure(Index index,
                    String sourceStructureName,
                    String destinationStructureName)Rename a structure within a given index. | 
| static IndexOnDisk | IndexUtil. reOpenIndex(Index index) | 
| void | IndexConfigurable. setIndex(Index i)Tell the implementer which Index object it is associated with. | 
| Constructor and Description | 
|---|
| Index.UpdatingCollectionStatistics(Index index) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BlockInvertedIndex. setIndex(Index i)Deprecated.  let it know which index to use | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CompressionFactory.CompressionConfiguration. writeIndexProperties(Index index,
                    String pointerSourceStream)Update the index's properties for this structure | 
| Constructor and Description | 
|---|
| LexiconBuilder.BasicLexiconCollectionStaticticsCounter(Index _index)constructor | 
| LexiconBuilder.BasicLexiconCollectionStaticticsCounter(Index _index,
                                                      String subset_name)constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| Index | ExtensibleSinglePassIndexer. getCurrentIndex()Get the index currently being constructed by this indexer. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | Hadoop_BasicSinglePassIndexer. mergeDocumentIndex(Index[] src,
                  int numdocs)Merges the simple document indexes made for each map, instead creating the final document index | 
| Modifier and Type | Method and Description | 
|---|---|
| void | IntegerCodecCompressionConfiguration. writeIndexProperties(Index index,
                    String pointerSourceStreamStructureName) | 
| Constructor and Description | 
|---|
| LETOROutputFormat(Index index) | 
| Normalised2LETOROutputFormat(Index index) | 
| NormalisedLETOROutputFormat(Index index) | 
| NullOutputFormat(Index i)Created a new NullOuputFormat | 
| TRECDocidOutputFormat(Index index)Creates a new TRECDocidOutputFormat. | 
| TRECDocnoOutputFormat(Index _index)Create a TRECDocnoOutputFormat using the specified index for
 looking up the docnos | 
| WritableOutputFormat(Index i)Created a new NullOuputFormat | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | HadoopUtility. toHConfiguration(Index i,
                org.apache.hadoop.conf.Configuration c)Puts the specified index onto the given Hadoop configuration | 
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow