Package | Description |
---|---|
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.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.
|
Modifier and Type | Field and Description |
---|---|
protected List<EntryStatistics> |
PostingListManager.termStatistics
EntryStatistics for each term
|
Modifier and Type | Method and Description |
---|---|
EntryStatistics[] |
FatResultSet.getEntryStatistics()
Return the EntryStatistics of each of the query terms in the query
|
EntryStatistics[] |
FatQueryResultSet.getEntryStatistics()
Return the EntryStatistics of each of the query terms in the query
|
EntryStatistics |
PostingListManager.getStatistics(int i)
Returns the EntryStatistics corresponding to the specified term
|
EntryStatistics |
MatchingQueryTerms.getStatistics(String term)
Returns the assocciated code of the given query term.
|
static EntryStatistics |
PostingListManager.mergeStatistics(EntryStatistics[] entryStats)
Knows how to merge several EntryStatistics for a single effective term
|
Modifier and Type | Method and Description |
---|---|
void |
PostingListManager.addSingleTerm(String queryTerm,
double weight,
EntryStatistics entryStats,
WeightingModel[] wmodels)
Add a single term to those to be matched for this query.
|
void |
PostingListManager.addSingleTermAlternatives(String[] terms,
String stringForm,
double weight,
EntryStatistics[] entryStats,
WeightingModel[] wmodels)
Adds a synonym group to the matching process.
|
void |
PostingListManager.addSingleTermAlternatives(String[] terms,
String stringForm,
double weight,
EntryStatistics entryStats,
WeightingModel[] wmodels)
Adds a synonym group to the matching process.
|
static EntryStatistics |
PostingListManager.mergeStatistics(EntryStatistics[] entryStats)
Knows how to merge several EntryStatistics for a single effective term
|
void |
FatResultSet.setEntryStatistics(EntryStatistics[] es) |
void |
FatQueryResultSet.setEntryStatistics(EntryStatistics[] es) |
void |
MatchingQueryTerms.setTermProperty(String term,
EntryStatistics stats)
Sets the term statistics for the given query term.
|
Constructor and Description |
---|
FatQueryResultSet(int numberOfDocuments,
CollectionStatistics cs,
String[] qs,
EntryStatistics[] es,
double[] ks) |
MatchingQueryTerms.QueryTermProperties(int _index,
double w,
EntryStatistics _stats)
A constructor for setting the weight of a term
and its term code.
|
MatchingQueryTerms.QueryTermProperties(int _index,
double w,
WeightingModel model,
EntryStatistics _stats)
A constructor for setting a weight, a term score modifier
and the term code for a query term.
|
MatchingQueryTerms.QueryTermProperties(int _index,
EntryStatistics _stats)
An constructor for setting the term code
of a query term.
|
MatchingQueryTerms.QueryTermProperties(int _index,
WeightingModel model,
EntryStatistics _stats)
A constructor for setting a term score modifier for a term
and its term code.
|
Modifier and Type | Method and Description |
---|---|
EntryStatistics[] |
FatCandidateResultSet.getEntryStatistics() |
Modifier and Type | Method and Description |
---|---|
void |
FatCandidateResultSet.setEntryStatistics(EntryStatistics[] es) |
Constructor and Description |
---|
FatCandidateResultSet(List<CandidateResult> q,
CollectionStatistics cs,
String[] queryTerms,
EntryStatistics[] entryStats,
double[] keyFrequency) |
FatCandidateResultSet(Queue<CandidateResult> q,
CollectionStatistics cs,
String[] queryTerms,
EntryStatistics[] entryStats,
double[] keyFrequency) |
Modifier and Type | Method and Description |
---|---|
protected void |
DependenceScoreModifier.determineGlobalStatistics(String[] terms,
EntryStatistics[] es,
boolean SD)
unused hook method
|
protected void |
DependenceScoreModifier.doDependency(Index index,
EntryStatistics[] es,
IterablePosting[] ips,
ResultSet rs,
double[] phraseTermWeights,
boolean SD) |
Modifier and Type | Field and Description |
---|---|
protected EntryStatistics |
WeightingModel.es |
Modifier and Type | Method and Description |
---|---|
void |
PerFieldNormWeightingModel.setEntryStatistics(EntryStatistics _es)
Sets entry statistics.
|
void |
SingleFieldModel.setEntryStatistics(EntryStatistics _es) |
void |
DFRWeightingModel.setEntryStatistics(EntryStatistics _es)
Sets entry statistics.
|
void |
WeightingModel.setEntryStatistics(EntryStatistics _es)
Sets entry statistics.
|
void |
ML2.setEntryStatistics(EntryStatistics _es)
Sets entry statistics.
|
void |
MDL2.setEntryStatistics(EntryStatistics _es)
Sets entry statistics.
|
Modifier and Type | Class and Description |
---|---|
class |
MemoryLexiconEntry
A lexicon entry stored in a MemoryLexicon.
|
Modifier and Type | Method and Description |
---|---|
void |
MemoryLexiconEntry.add(EntryStatistics es)
Increment the statistics of this object by that of another
|
void |
MemoryLexiconEntry.subtract(EntryStatistics es)
Decrement the statistics of this object by that of another
|
int |
MemoryLexicon.term(String term,
EntryStatistics es)
Add new term, or update existing term.
|
int |
MemoryLexicon.term(String term,
EntryStatistics es,
int termid) |
Modifier and Type | Class and Description |
---|---|
class |
MemoryFieldsLexiconEntry
Lexicon entry (fields).
|
Modifier and Type | Method and Description |
---|---|
void |
MemoryFieldsLexiconEntry.add(EntryStatistics le)
Increment the statistics of this object by that of another
|
void |
MemoryFieldsLexiconEntry.subtract(EntryStatistics le)
Decrement the statistics of this object by that of another
|
Modifier and Type | Class and Description |
---|---|
class |
MultiLexiconEntry
A Lexicon entry that spans multiple index shards.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiLexiconEntry.add(EntryStatistics e)
Not implemented.
|
void |
MultiLexiconEntry.subtract(EntryStatistics e)
Not implemented.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BlockEntryStatistics
Interface describing the statistics for a block entry.
|
interface |
FieldEntryStatistics
The statistics for a field entry
|
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
|
class |
LexiconEntry
Represents the statistics of a term in the
Lexicon , and
a pointer to the term's location in a PostingIndex . |
Modifier and Type | Method and Description |
---|---|
EntryStatistics |
LexiconEntry.getWritableEntryStatistics() |
EntryStatistics |
EntryStatistics.getWritableEntryStatistics()
Get a copy of these entry statistics that can be reused.
|
Modifier and Type | Method and Description |
---|---|
void |
BlockLexiconEntry.add(EntryStatistics le)
Deprecated.
increment this lexicon entry by another
|
void |
FieldLexiconEntry.add(EntryStatistics le) |
void |
BasicLexiconEntry.add(EntryStatistics le)
increment this lexicon entry by another
|
void |
EntryStatistics.add(EntryStatistics e)
Increment the statistics of this object by that of another
|
void |
BasicTermStatsLexiconEntry.add(EntryStatistics le)
Increment the statistics of this object by that of another
|
protected void |
LexiconOutputStream.incrementCounters(EntryStatistics t) |
void |
BlockLexiconEntry.subtract(EntryStatistics le)
Deprecated.
alter this lexicon entry to subtract another lexicon entry
|
void |
BasicLexiconEntry.subtract(EntryStatistics le)
alter this lexicon entry to subtract another lexicon entry
|
void |
EntryStatistics.subtract(EntryStatistics e)
Decrement the statistics of this object by that of another
|
void |
BasicTermStatsLexiconEntry.subtract(EntryStatistics le)
Decrement the statistics of this object by that of another
|
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow