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.taat |
Provides classes that implement a term-at-a-time (TAAT) matching strategy.
|
org.terrier.querying |
Provides the interfaces and classes for the querying
API of the Terrier platform, the controls, post processors
and filters.
|
org.terrier.querying.parser |
Provides the parser specification and the classes that implement
the query language of the Terrier platform.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
FatFeaturedScoringMatching.doMatch(String queryNumber,
MatchingQueryTerms queryTerms,
FatResultSet fat) |
ResultSet |
FatScoringMatching.doMatch(String queryNumber,
MatchingQueryTerms queryTerms,
ResultSet inputRS) |
protected void |
BaseMatching.finalise(MatchingQueryTerms queryTerms) |
protected void |
BaseMatching.initialise(MatchingQueryTerms queryTerms) |
protected void |
BaseMatching.initialisePostings(MatchingQueryTerms queryTerms) |
abstract ResultSet |
BaseMatching.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
ResultSet |
Matching.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
ResultSet |
TRECResultsMatching.match(String _qid,
MatchingQueryTerms mqt) |
ResultSet |
FatFeaturedScoringMatching.match(String queryNumber,
MatchingQueryTerms queryTerms) |
ResultSet |
FatScoringMatching.match(String queryNumber,
MatchingQueryTerms queryTerms) |
ResultSet |
LearnedModelMatching.match(String queryNumber,
MatchingQueryTerms queryTerms) |
ResultSet |
FatResultsMatching.match(String queryNumber,
MatchingQueryTerms queryTerms) |
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 |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Full.initialisePostings(MatchingQueryTerms queryTerms) |
ResultSet |
Full.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
ResultSet |
FullNoPLM.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Full.initialisePostings(MatchingQueryTerms queryTerms) |
ResultSet |
Full.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
ResultSet |
FullNoPLM.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
Modifier and Type | Field and Description |
---|---|
protected MatchingQueryTerms |
Request.matchingTerms
This is an aggregated form of the query terms, suitable for matching, which requires
term frequencies for each term.
|
Modifier and Type | Method and Description |
---|---|
MatchingQueryTerms |
Request.getMatchingQueryTerms()
Return the MatchingQueryTerms object to use for matching
|
Modifier and Type | Method and Description |
---|---|
void |
QueryExpansion.expandQuery(MatchingQueryTerms query,
Request rq)
This method implements the functionality of expanding a query.
|
void |
Request.setMatchingQueryTerms(MatchingQueryTerms mqts)
Used by runPreProcessing after the query tree has been
aggregated into a list of terms, each containing frequencies.
|
void |
ExpansionTerms.setOriginalQueryTerms(MatchingQueryTerms query)
Set the original query terms.
|
Modifier and Type | Method and Description |
---|---|
void |
RequirementQuery.obtainQueryTerms(MatchingQueryTerms terms)
Stores the terms of the query in the given structure, which
is used for matching documents to the query.
|
void |
MultiTermQuery.obtainQueryTerms(MatchingQueryTerms terms)
Prepares the query for matching by transforming
the query objects to a set of query terms.
|
void |
Query.obtainQueryTerms(MatchingQueryTerms terms)
Stores the terms of the query in an structure used for matching
documents to the query.
|
void |
FieldQuery.obtainQueryTerms(MatchingQueryTerms terms)
Prepares the query for matching by transforming
the query objects to a set of query terms.
|
void |
DisjunctiveQuery.obtainQueryTerms(MatchingQueryTerms terms) |
void |
SingleTermQuery.obtainQueryTerms(MatchingQueryTerms terms)
Stores the term of the single term query in the
given hash map.
|
void |
PhraseQuery.obtainQueryTerms(MatchingQueryTerms terms)
Stores the query terms of the phrase query in the
given matching query terms structure.
|
void |
MultiTermQuery.obtainQueryTerms(MatchingQueryTerms terms,
boolean required)
Prepares the query for matching by transforming
the query objects to a set of query terms.
|
void |
Query.obtainQueryTerms(MatchingQueryTerms terms,
boolean required)
Stores the terms of the query in an structure used for matching
documents to the query.
|
void |
FieldQuery.obtainQueryTerms(MatchingQueryTerms terms,
boolean required)
Prepares the query for matching by transforming
the query objects to a set of query terms.
|
void |
SingleTermQuery.obtainQueryTerms(MatchingQueryTerms terms,
boolean _required)
Stores the term of the single term query in the
given hash map.
|
void |
PhraseQuery.obtainQueryTerms(MatchingQueryTerms terms,
boolean required)
Stores the query terms of the phrase query in the
given matching query terms structure.
|
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow