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 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.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 indexing
|
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.tests |
Modifier and Type | Method and Description |
---|---|
static Index |
IndexTestUtils.makeIndex(String[] docnos,
String[] documents) |
static Index |
IndexTestUtils.makeIndex(String[] docnos,
String[] documents,
Class<? extends Indexer> indexClz) |
static Index |
IndexTestUtils.makeIndex(String[] docnos,
String[] documents,
Indexer indexer,
String path,
String prefix) |
static Index |
IndexTestUtils.makeIndexBlocks(String[] docnos,
String[] documents) |
static Index |
IndexTestUtils.makeIndexFields(String[] docnos,
String[] documents) |
static Index |
IndexTestUtils.makeIndexFields(String[] docnos,
String[] documents,
Indexer indexer,
String path,
String prefix) |
static Index |
IndexTestUtils.makeIndexFieldsBlocks(String[] docnos,
String[] documents) |
static Index |
IndexTestUtils.makeIndexSinglePass(String[] docnos,
String[] documents) |
Modifier and Type | Field and Description |
---|---|
protected Index |
FeaturedScoringMatching.index |
Index |
AbstractScoringMatching.index |
protected Index |
PostingListManager.index
underlying index
|
protected Index |
BaseMatching.index
The index used for retrieval.
|
protected Index |
TRECResultsMatching.index
The underlying index.
|
Modifier and Type | Method and Description |
---|---|
static Index |
FatUtils.makeIndex(FatResultSet frs) |
Modifier and Type | Method and Description |
---|---|
protected int |
FeaturedScoringMatching.applyDSMs(Index localIndex,
String queryNumber,
MatchingQueryTerms mqtLocal,
int numResults,
int[] inputDocids,
short[] inputOccurrences,
FeaturedResultSet rtr) |
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 |
---|
AbstractScoringMatching(Index _index,
Matching _parent,
WeightingModel _wm) |
AbstractScoringMatching(Index _index,
Matching _parent,
WeightingModel _wm,
Predicate<org.apache.commons.lang3.tuple.Pair<String,Set<String>>> _filter) |
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) |
FatScoringMatching(Index _index,
Matching _parent,
WeightingModel _wm,
Predicate<org.apache.commons.lang3.tuple.Pair<String,Set<String>>> _filter) |
FeaturedScoringMatching(Index _index,
Matching _parent,
Class<? extends AbstractScoringMatching> _scoringMatchingImpl) |
FeaturedScoringMatching(Index _index,
Matching _parent,
String[] _featureNames,
Class<? extends AbstractScoringMatching> _scoringMatchingImpl) |
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,
String scoringTag,
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,
Predicate<org.apache.commons.lang3.tuple.Pair<String,Set<String>>> _filter) |
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
|
Modifier and Type | Method and Description |
---|---|
protected void |
DependenceScoreModifier.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 rs
|
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 |
SimpleStaticScoreModifier.modifyScores(Index index,
MatchingQueryTerms queryTerms,
ResultSet set)
Modifies the scores of the documents for a given
query.
|
boolean |
ResetScores.modifyScores(Index index,
MatchingQueryTerms queryTerms,
ResultSet resultSet) |
boolean |
PhraseScoreModifier.modifyScores(Index index,
MatchingQueryTerms terms,
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 |
DocumentScoreModifier.modifyScores(Index index,
MatchingQueryTerms queryTerms,
ResultSet resultSet)
Modifies the scores of the documents for a given
query.
|
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 |
DFRDependenceScoreModifier.modifyScores(Index index,
MatchingQueryTerms terms,
ResultSet set) |
boolean |
BooleanScoreModifier.modifyScores(Index index,
MatchingQueryTerms query,
ResultSet resultSet)
Zeros the scores of documents in which only some
of the query terms appear.
|
boolean |
BooleanFallback.modifyScores(Index index,
MatchingQueryTerms queryTerms,
ResultSet resultSet)
Applies boolean fallback to the given result set.
|
protected void |
DependenceScoreModifier.openPostingLists(Index index,
LexiconEntry[] les,
IterablePosting[] ips)
Opens the posting list for an index and lexicon entry
|
void |
MRFDependenceScoreModifier.setCollectionStatistics(CollectionStatistics cs,
Index _index)
Sets the collection statistics used to score the documents (number of documents in the collection, etc)
|
void |
DependenceScoreModifier.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
|
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.index
index will not be passed across RMI
|
protected Index |
LocalManager.index
The index this querying comes from
|
protected Index |
FeedbackSelector.index |
protected Index |
QueryExpansion.lastIndex |
Modifier and Type | Method and Description |
---|---|
Index |
Request.getIndex()
Returns the index to be used for this query
|
Index |
LocalManager.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 |
QueryExpansion.configureIndex(Index index) |
default void |
MQTRewritingProcess.configureIndex(Index index) |
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 |
RelevanceFeedbackSelectorDocids.setIndex(Index index)
Set the index to be used
|
void |
RelevanceFeedbackSelector.setIndex(Index index)
Set the index to be used
|
protected void |
LocalManager.useThisIndex(Index i)
use the index specified for the Manager
|
Constructor and Description |
---|
LocalManager(Index _index)
Construct a Manager using the specified Index
Throws IllegalArgumentException if the specified index is null
|
ThreadSafeManager(Index _index) |
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 |
IncrementalIndex
This 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 |
---|---|
Index |
IncrementalIndex.Loader.load(IndexRef ref) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Index> |
IncrementalIndex.Loader.indexImplementor(IndexRef ref) |
Modifier and Type | Method and Description |
---|---|
static IncrementalMergePolicy |
IncrementalMergePolicy.get(String policy,
List<Index> indices,
IncrementalIndex index)
Create a new merge thread.
|
static IncrementalFlushPolicy |
IncrementalFlushPolicy.get(String policy,
List<Index> indices,
IncrementalIndex index)
Create a new flush 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> |
IncrementalSelectiveMostRecent.getSelectedIndices(List<Index> indices)
Returns only the incremental.selectivematch.mostrecent indices.
|
List<Index> |
IncrementalSelectiveMatching.getSelectedIndices(List<Index> indices)
Return all indices (default)
|
Modifier and Type | Method and Description |
---|---|
List<Index> |
IncrementalSelectiveMostRecent.getSelectedIndices(List<Index> indices)
Returns only the incremental.selectivematch.mostrecent indices.
|
List<Index> |
IncrementalSelectiveMatching.getSelectedIndices(List<Index> indices)
Return all indices (default)
|
Modifier and Type | Class and Description |
---|---|
class |
MemoryIndex
An index held in fully memory.
|
Modifier and Type | Method and Description |
---|---|
Index |
MemoryIndex.Loader.load(IndexRef ref) |
Index |
MemoryIndex.write(String path,
String prefix)
Write index structures to disk.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Index> |
MemoryIndex.Loader.indexImplementor(IndexRef ref) |
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 |
MemoryFields
Super-type of fields index implementations.
|
class |
MemoryFieldsIndex
An 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 |
MultiIndex
The 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 |
IndexOnDisk
The replacement for what was Index in earlier Terrier versions.
|
Modifier and Type | Method and Description |
---|---|
Index |
ConcurrentIndexLoader.load(IndexRef ref) |
Index |
IndexFactory.IndexLoader.load(IndexRef ref) |
Index |
IndexFactory.DirectIndexLoader.load(IndexRef ref) |
Index |
IndexFactory.DiskIndexLoader.load(IndexRef ref) |
static Index |
IndexFactory.of(IndexRef ref) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Index> |
ConcurrentIndexLoader.indexImplementor(IndexRef ref) |
Class<? extends Index> |
IndexFactory.IndexLoader.indexImplementor(IndexRef ref) |
Class<? extends Index> |
IndexFactory.DirectIndexLoader.indexImplementor(IndexRef ref) |
Class<? extends Index> |
IndexFactory.DiskIndexLoader.indexImplementor(IndexRef ref) |
static Class<? extends Index> |
IndexFactory.whoSupports(IndexRef ref) |
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 int |
IndexUtil.getFieldId(Index index,
String structureName,
String fieldName) |
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 |
---|
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 |
---|---|
static Index |
ConcurrentIndexUtils.makeConcurrentForRetrieval(Index index) |
Modifier and Type | Method and Description |
---|---|
static Index |
ConcurrentIndexUtils.makeConcurrentForRetrieval(Index index) |
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 |
---|
BasicLexiconCollectionStaticticsCounter(Index _index)
constructor
|
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 |
---|---|
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 |
---|---|
void |
BatchEndToEndTest.BatchEndToEndTestEventHooks.checkIndex(BatchEndToEndTest test,
Index index) |
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow