Uses of Class
org.terrier.structures.Index
-
Packages that use Index Package Description org.terrier.indexing Provides classes and interfaces related to the indexing of documents.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.matchops This package contains matching Operators.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 interfaces for the index data structures used for retrieval with the Terrier platform.org.terrier.structures.concurrent 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 indexingorg.terrier.structures.outputformat Provides functionality for writing Terrier ResultSets to disk as .res files, e.g.org.terrier.tests -
-
Uses of Index in org.terrier.indexing
Methods in org.terrier.indexing that return Index Modifier and Type Method Description static IndexIndexTestUtils. makeIndex(java.lang.String[] docnos, java.lang.String[] documents)static IndexIndexTestUtils. makeIndex(java.lang.String[] docnos, java.lang.String[] documents, java.lang.Class<? extends Indexer> indexClz)static IndexIndexTestUtils. makeIndex(java.lang.String[] docnos, java.lang.String[] documents, Indexer indexer, java.lang.String path, java.lang.String prefix)static IndexIndexTestUtils. makeIndexBlocks(java.lang.String[] docnos, java.lang.String[] documents)static IndexIndexTestUtils. makeIndexFields(java.lang.String[] docnos, java.lang.String[] documents)static IndexIndexTestUtils. makeIndexFields(java.lang.String[] docnos, java.lang.String[] documents, Indexer indexer, java.lang.String path, java.lang.String prefix)static IndexIndexTestUtils. makeIndexFieldsBlocks(java.lang.String[] docnos, java.lang.String[] documents)static IndexIndexTestUtils. makeIndexSinglePass(java.lang.String[] docnos, java.lang.String[] documents) -
Uses of Index in org.terrier.matching
Fields in org.terrier.matching declared as Index Modifier and Type Field Description IndexAbstractScoringMatching. indexprotected IndexBaseMatching. indexThe index used for retrieval.protected IndexFeaturedScoringMatching. indexprotected IndexPostingListManager. indexunderlying indexprotected IndexTRECResultsMatching. indexThe underlying index.Methods in org.terrier.matching that return Index Modifier and Type Method Description static IndexFatUtils. makeIndex(FatResultSet frs)Methods in org.terrier.matching with parameters of type Index Modifier and Type Method Description protected intFeaturedScoringMatching. applyDSMs(Index localIndex, java.lang.String queryNumber, MatchingQueryTerms mqtLocal, int numResults, int[] inputDocids, short[] inputOccurrences, FeaturedResultSet rtr)voidPostingListManager.PostingListManagerPlugin. processQuery(MatchingQueryTerms mqt, Index index, PostingListManager plm)process the query, given matchign query terms, index and posting list managerConstructors in org.terrier.matching with parameters of type Index Constructor Description AbstractScoringMatching(Index _index, Matching _parent, WeightingModel _wm)AbstractScoringMatching(Index _index, Matching _parent, WeightingModel _wm, java.util.function.Predicate<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.util.Set<java.lang.String>>> _filter)BaseMatching(Index _index)Constructs an instance of the BaseMatchingFatFeaturedScoringMatching(Index _index, Matching _parent)FatFeaturedScoringMatching(Index _index, Matching _parent, java.lang.String[] _featureNames)FatResultsMatching(Index i)FatScoringMatching(Index _index, Matching _parent)FatScoringMatching(Index _index, Matching _parent, WeightingModel _wm)FatScoringMatching(Index _index, Matching _parent, WeightingModel _wm, java.util.function.Predicate<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.util.Set<java.lang.String>>> _filter)FeaturedScoringMatching(Index _index, Matching _parent, java.lang.Class<? extends AbstractScoringMatching> _scoringMatchingImpl)FeaturedScoringMatching(Index _index, Matching _parent, java.lang.String[] _featureNames, java.lang.Class<? extends AbstractScoringMatching> _scoringMatchingImpl)JforestsModelMatching(Index _index, Matching _parent)JforestsModelMatching(Index _index, Matching _parent, java.lang.String modelFilename)JforestsModelMatching(Index _index, Matching _parent, java.lang.String modelFilename, java.lang.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, java.lang.String _modelFilename)PostingListManager(Index _index, CollectionStatistics cs)Create a posting list manager for the given index and statisticsPostingListManager(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, java.lang.String scoringTag, java.lang.String additionalTag)Create a posting list manager for the given index and statistics, and populated using the specified MatchingQueryTerms.ScoringMatching(Index _index, Matching _parent)ScoringMatching(Index _index, Matching _parent, WeightingModel _wm)ScoringMatching(Index _index, Matching _parent, WeightingModel _wm, java.util.function.Predicate<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.util.Set<java.lang.String>>> _filter)ScoringMatchingWithFat(Index _index, Matching _parent)ScoringMatchingWithFat(Index _index, Matching _parent, WeightingModel _wm)ScoringMatchingWithFat(Index _index, Matching _parent, WeightingModel _wm, java.util.function.Predicate<org.apache.commons.lang3.tuple.Pair<java.lang.String,java.util.Set<java.lang.String>>> _filter)TRECResultsMatching(Index _index)Contructs an instance of the TRECResultsMatching given an index.TRECResultsMatching(Index _index, java.lang.String _filename)Contructs an instance of the TRECResultsMatching.TRECResultsMatching(Index _index, java.lang.String _filename, java.lang.String defDSMs)Contructs an instance of the TRECResultsMatching. -
Uses of Index in org.terrier.matching.daat
Constructors in org.terrier.matching.daat with parameters of type Index Constructor Description FatFull(Index index)Full(Index index)Create a new Matching instance based on the specified index -
Uses of Index in org.terrier.matching.dsms
Methods in org.terrier.matching.dsms with parameters of type Index Modifier and Type Method Description protected voidDependenceScoreModifier. doDependency(Index index, EntryStatistics[] es, IterablePosting[] ips, ResultSet rs, double[] phraseTermWeights, boolean SD)Calculates dependence scores for all documents, putting the scores into the ResultSet rsvoidSimpleStaticScoreModifier. init(Index index)initprotected voidSimpleStaticScoreModifier. loadDocno2score(Index index)protected voidSimpleStaticScoreModifier. loadDocno2score_seq(Index index)protected voidSimpleStaticScoreModifier. loadScorefile(Index index)booleanBooleanFallback. modifyScores(Index index, MatchingQueryTerms queryTerms, ResultSet resultSet)Applies boolean fallback to the given result set.booleanBooleanScoreModifier. modifyScores(Index index, MatchingQueryTerms query, ResultSet resultSet)Zeros the scores of documents in which only some of the query terms appear.booleanDependenceScoreModifier. modifyScores(Index index, MatchingQueryTerms terms, ResultSet set)Modifies the scores of documents, in which there exist, or there does not exist a given phrase.booleanDFRDependenceScoreModifier. modifyScores(Index index, MatchingQueryTerms terms, ResultSet set)booleanDocumentScoreModifier. modifyScores(Index index, MatchingQueryTerms queryTerms, ResultSet resultSet)Modifies the scores of the documents for a given query.booleanMRFDependenceScoreModifier. modifyScores(Index index, MatchingQueryTerms terms, ResultSet set)Modifies the scores of documents, in which there exist, or there does not exist a given phrase.booleanPhraseScoreModifier. modifyScores(Index index, MatchingQueryTerms terms, ResultSet resultSet)booleanResetScores. modifyScores(Index index, MatchingQueryTerms queryTerms, ResultSet resultSet)booleanSimpleStaticScoreModifier. modifyScores(Index index, MatchingQueryTerms queryTerms, ResultSet set)Modifies the scores of the documents for a given query.protected voidDependenceScoreModifier. openPostingLists(Index index, LexiconEntry[] les, IterablePosting[] ips)Opens the posting list for an index and lexicon entryvoidDependenceScoreModifier. setCollectionStatistics(CollectionStatistics cs, Index _index)Sets the collection statistics used to score the documents (number of documents in the collection, etc)voidMRFDependenceScoreModifier. setCollectionStatistics(CollectionStatistics cs, Index _index)Sets the collection statistics used to score the documents (number of documents in the collection, etc) -
Uses of Index in org.terrier.matching.matchops
Methods in org.terrier.matching.matchops with parameters of type Index Modifier and Type Method Description MatchingEntryDateRangeOp. getMatcher(MatchingQueryTerms.QueryTermProperties qtp, Index index, Lexicon<java.lang.String> lexTerm, PostingIndex<Pointer> invTerm, CollectionStatistics collectionStats)MatchingEntryMultiTermOp. getMatcher(MatchingQueryTerms.QueryTermProperties qtp, Index index, Lexicon<java.lang.String> lexicon, PostingIndex<Pointer> invertedIndex, CollectionStatistics collectionStatistics)abstract MatchingEntryOperator. getMatcher(MatchingQueryTerms.QueryTermProperties qtp, Index index, Lexicon<java.lang.String> lex, PostingIndex<Pointer> inv, CollectionStatistics collStats)get an entry for matching for this query op.MatchingEntrySingleTermOp. getMatcher(MatchingQueryTerms.QueryTermProperties qtp, Index index, Lexicon<java.lang.String> lexicon, PostingIndex<Pointer> invertedIndex, CollectionStatistics collectionStatistics)org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting>DateRangeOp. getPostingIterator(Index index)org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting>MultiTermOp. getPostingIterator(Index index)abstract org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting>Operator. getPostingIterator(Index index)get posting iterator for this query op.org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting>PrefixTermOp. getPostingIterator(Index index)org.apache.commons.lang3.tuple.Pair<EntryStatistics,IterablePosting>SingleTermOp. getPostingIterator(Index index) -
Uses of Index in org.terrier.matching.models
Methods in org.terrier.matching.models with parameters of type Index Modifier and Type Method Description static WeightingModelWeightingModelFactory. newInstance(java.lang.String name, Index index)Returns the requested weighting model for the specified index. -
Uses of Index in org.terrier.matching.taat
Constructors in org.terrier.matching.taat with parameters of type Index Constructor Description Full(Index index)Create a new Matching instance based on the specified index -
Uses of Index in org.terrier.matching.tsms
Fields in org.terrier.matching.tsms declared as Index Modifier and Type Field Description protected IndexTermInFieldModifier. indexMethods in org.terrier.matching.tsms with parameters of type Index Modifier and Type Method Description voidTermInFieldModifier. setIndex(Index i)Tell the implementer which Index object it is associated with. -
Uses of Index in org.terrier.querying
Fields in org.terrier.querying declared as Index Modifier and Type Field Description protected IndexFeedbackSelector. indexprotected IndexLocalManager. indexThe index this querying comes fromprotected IndexRequest. indexindex will not be passed across RMIprotected IndexQueryExpansion. lastIndexMethods in org.terrier.querying that return Index Modifier and Type Method Description IndexLocalManager. getIndex()Returns the index used by the manager.protected IndexQueryExpansion. getIndex(Manager m)For easier sub-classing of which index the query expansion comes fromIndexRequest. getIndex()Returns the index to be used for this queryMethods in org.terrier.querying with parameters of type Index Modifier and Type Method Description default voidMQTRewritingProcess. configureIndex(Index index)voidQueryExpansion. configureIndex(Index index)voidFeedbackSelector. setIndex(Index _index)Set the index to be usedvoidRelevanceFeedbackSelector. setIndex(Index index)Set the index to be usedvoidRelevanceFeedbackSelectorDocids. setIndex(Index index)Set the index to be usedvoidRelevantOnlyFeedbackDocuments. setIndex(Index index)Set the index to be usedvoidRequest. setIndex(Index _index)Set the index to be used for this queryprotected voidLocalManager. useThisIndex(Index i)use the index specified for the ManagerConstructors in org.terrier.querying with parameters of type Index Constructor Description LocalManager(Index _index)Construct a Manager using the specified Index Throws IllegalArgumentException if the specified index is nullThreadSafeManager(Index _index) -
Uses of Index in org.terrier.realtime
Methods in org.terrier.realtime that return Index Modifier and Type Method Description IndexWritableIndex. write(java.lang.String path, java.lang.String prefix)Write all of the index structures to disk at the specified location -
Uses of Index in org.terrier.realtime.incremental
Subclasses of Index in org.terrier.realtime.incremental Modifier and Type Class Description classIncrementalIndexThis is the main Index class for an incremental index.Fields in org.terrier.realtime.incremental with type parameters of type Index Modifier and Type Field Description protected static java.util.List<Index>IncrementalMergePolicy. indicesMethods in org.terrier.realtime.incremental that return Index Modifier and Type Method Description IndexIncrementalIndex.Loader. load(IndexRef ref)Methods in org.terrier.realtime.incremental that return types with arguments of type Index Modifier and Type Method Description java.lang.Class<? extends Index>IncrementalIndex.Loader. indexImplementor(IndexRef ref)Method parameters in org.terrier.realtime.incremental with type arguments of type Index Modifier and Type Method Description static IncrementalFlushPolicyIncrementalFlushPolicy. get(java.lang.String policy, java.util.List<Index> indices, IncrementalIndex index)Create a new flush thread.static IncrementalMergePolicyIncrementalMergePolicy. get(java.lang.String policy, java.util.List<Index> indices, IncrementalIndex index)Create a new merge thread.protected java.util.List<java.lang.Integer>IncrementalDeleteFixedNumber. getIndicesToDelete(java.util.List<Index> indices)Get a list of indices to delete (if any)protected java.util.List<java.lang.Integer>IncrementalDeletePolicy. getIndicesToDelete(java.util.List<Index> indices)Get a list of indices to delete (if any)voidIncrementalDeletePolicy. runPolicy(java.util.List<Index> indices)Constructors in org.terrier.realtime.incremental with parameters of type Index Constructor Description IncrementalIndex(Index[] indices) -
Uses of Index in org.terrier.realtime.matching
Methods in org.terrier.realtime.matching that return types with arguments of type Index Modifier and Type Method Description java.util.List<Index>IncrementalSelectiveMatching. getSelectedIndices(java.util.List<Index> indices)Return all indices (default)java.util.List<Index>IncrementalSelectiveMostRecent. getSelectedIndices(java.util.List<Index> indices)Returns only the incremental.selectivematch.mostrecent indices.Method parameters in org.terrier.realtime.matching with type arguments of type Index Modifier and Type Method Description java.util.List<Index>IncrementalSelectiveMatching. getSelectedIndices(java.util.List<Index> indices)Return all indices (default)java.util.List<Index>IncrementalSelectiveMostRecent. getSelectedIndices(java.util.List<Index> indices)Returns only the incremental.selectivematch.mostrecent indices. -
Uses of Index in org.terrier.realtime.memory
Subclasses of Index in org.terrier.realtime.memory Modifier and Type Class Description classMemoryIndexAn index held in fully memory.Methods in org.terrier.realtime.memory that return Index Modifier and Type Method Description IndexMemoryIndex.Loader. load(IndexRef ref)IndexMemoryIndex. write(java.lang.String path, java.lang.String prefix)Write index structures to disk.Methods in org.terrier.realtime.memory that return types with arguments of type Index Modifier and Type Method Description java.lang.Class<? extends Index>MemoryIndex.Loader. indexImplementor(IndexRef ref) -
Uses of Index in org.terrier.realtime.memory.fields
Subclasses of Index in org.terrier.realtime.memory.fields Modifier and Type Class Description classMemoryFieldsSuper-type of fields index implementations.classMemoryFieldsIndexAn in-memory incremental fields index (non-compressed).Methods in org.terrier.realtime.memory.fields that return Index Modifier and Type Method Description IndexMemoryFieldsIndex.Loader. load(IndexRef ref)IndexMemoryFieldsIndex. merge(java.lang.String diskpath, java.lang.String diskprefix, java.lang.String newpath, java.lang.String newprefix)Not implemented.Methods in org.terrier.realtime.memory.fields that return types with arguments of type Index Modifier and Type Method Description java.lang.Class<? extends Index>MemoryFieldsIndex.Loader. indexImplementor(IndexRef ref) -
Uses of Index in org.terrier.realtime.multi
Subclasses of Index in org.terrier.realtime.multi Modifier and Type Class Description classMultiIndexThe central MultiIndex structure.Fields in org.terrier.realtime.multi with type parameters of type Index Modifier and Type Field Description protected java.util.List<Index>MultiIndex. indicesMethods in org.terrier.realtime.multi that return Index Modifier and Type Method Description IndexMultiIndex. getIthShard(int i)Constructors in org.terrier.realtime.multi with parameters of type Index Constructor Description MultiIndex(Index[] indices, boolean blocks, boolean fields)Constructor. -
Uses of Index in org.terrier.structures
Subclasses of Index in org.terrier.structures Modifier and Type Class Description classIndexOnDiskThe replacement for what was Index in earlier Terrier versions.classPropertiesIndexThis class encapsulates all the Indexes at retrieval time.Methods in org.terrier.structures that return Index Modifier and Type Method Description static IndexIndex. createIndex()Deprecated.static IndexIndex. createIndex(java.lang.String path, java.lang.String prefix)Deprecated.IndexIndex.DirectIndexRef. getIndex()IndexConcurrentIndexLoader. load(IndexRef ref)IndexIndexFactory.DirectIndexLoader. load(IndexRef ref)IndexIndexFactory.IndexLoader. load(IndexRef ref)Returns the Index for this IndexRefIndexIndexOnDisk.DiskIndexLoader. load(IndexRef ref)static IndexIndexFactory. of(java.lang.String indexRefString)Shortcut method to avoid instantiating an IndexRefstatic IndexIndexFactory. of(IndexRef ref)Load the index for the specified reference.Methods in org.terrier.structures that return types with arguments of type Index Modifier and Type Method Description java.lang.Class<? extends Index>ConcurrentIndexLoader. indexImplementor(IndexRef ref)java.lang.Class<? extends Index>IndexFactory.DirectIndexLoader. indexImplementor(IndexRef ref)java.lang.Class<? extends Index>IndexFactory.IndexLoader. indexImplementor(IndexRef ref)Returns the class that will implement the Index for the passed referencejava.lang.Class<? extends Index>IndexOnDisk.DiskIndexLoader. indexImplementor(IndexRef ref)static java.lang.Class<? extends Index>IndexFactory. whoSupports(IndexRef ref)Methods in org.terrier.structures with parameters of type Index Modifier and Type Method Description static voidIndexUtil. configure(Index index, java.lang.Object o)Configures an object with the index, if the object implements IndexConfigurablestatic voidIndexUtil. forceReloadStructure(Index index, java.lang.String structureName)Forces a structure to be reloaded, by removing it from the index's structure cachestatic voidIndexUtil. forceStructure(Index index, java.lang.String structureName, java.lang.Object structure)Force the specified object into the structure cache of the specified object, as the given structure namestatic intIndexUtil. getFieldId(Index index, java.lang.String structureName, java.lang.String fieldName)static booleanConcurrentIndexLoader. isIndexConcurrent(Index index)protected static IndexRefIndex. makeDirectIndexRef(Index index)static voidIndexUtil. printDocumentIndex(Index index, java.lang.String structureName)Print the contents of the document indexstatic voidLexiconUtil. printLexicon(Index index, java.lang.String structureName)Prints Lexiconstatic voidIndexUtil. printMetaIndex(Index index, java.lang.String structureName)Print the contents of the meta indexstatic voidIndexUtil. printMetaIndexJson(Index index, java.lang.String structureName)static booleanIndexUtil. renameIndexStructure(Index _index, java.lang.String sourceStructureName, java.lang.String destinationStructureName)Rename a structure within a given index.static IndexOnDiskIndexUtil. reOpenIndex(Index index)voidIndexConfigurable. setIndex(Index i)Tell the implementer which Index object it is associated with.Constructors in org.terrier.structures with parameters of type Index Constructor Description UpdatingCollectionStatistics(Index index) -
Uses of Index in org.terrier.structures.concurrent
Methods in org.terrier.structures.concurrent that return Index Modifier and Type Method Description static IndexConcurrentIndexUtils. makeConcurrentForRetrieval(Index index)Methods in org.terrier.structures.concurrent with parameters of type Index Modifier and Type Method Description static booleanConcurrentIndexUtils. isConcurrent(Index index)static IndexConcurrentIndexUtils. makeConcurrentForRetrieval(Index index) -
Uses of Index in org.terrier.structures.indexing
Methods in org.terrier.structures.indexing with parameters of type Index Modifier and Type Method Description protected voidDiskIndexWriter. collectProperties(Index source, IndexOnDisk index, CompressionFactory.CompressionConfiguration compressionConfigInverted, CompressionFactory.CompressionConfiguration compressionConfigDirect)IndexOnDiskDiskIndexWriter. write(Index source) -
Uses of Index in org.terrier.structures.indexing.singlepass
Methods in org.terrier.structures.indexing.singlepass that return Index Modifier and Type Method Description IndexExtensibleSinglePassIndexer. getCurrentIndex()Get the index currently being constructed by this indexer. -
Uses of Index in org.terrier.structures.outputformat
Constructors in org.terrier.structures.outputformat with parameters of type Index Constructor Description LETOROutputFormat(Index index)Normalised2LETOROutputFormat(Index index)NormalisedLETOROutputFormat(Index index)NullOutputFormat(Index i)Created a new NullOuputFormatTRECDocidOutputFormat(Index index)Creates a new TRECDocidOutputFormat.TRECDocnoOutputFormat(Index _index)Create a TRECDocnoOutputFormat using the specified index for looking up the docnosWritableOutputFormat(Index i)Created a new NullOuputFormat -
Uses of Index in org.terrier.tests
Methods in org.terrier.tests with parameters of type Index Modifier and Type Method Description voidBatchEndToEndTest.BatchEndToEndTestEventHooks. checkIndex(BatchEndToEndTest test, Index index)
-