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 |
---|---|
MatchingQueryTerms |
MatchingQueryTerms.clone()
Performs a deep clone of this object, and all objects it contains.
|
Modifier and Type | Method and Description |
---|---|
protected int |
FeaturedScoringMatching.applyDSMs(Index localIndex,
String queryNumber,
MatchingQueryTerms mqtLocal,
int numResults,
int[] inputDocids,
short[] inputOccurrences,
FeaturedResultSet rtr) |
ResultSet |
ScoringMatching.doMatch(String queryNumber,
MatchingQueryTerms queryTerms,
ResultSet rsInput) |
abstract ResultSet |
FilterMatching.doMatch(String queryNumber,
MatchingQueryTerms queryTerms,
ResultSet match) |
ResultSet |
FatScoringMatching.doMatch(String queryNumber,
MatchingQueryTerms queryTerms,
ResultSet inputRS) |
ResultSet |
FatFeaturedScoringMatching.doMatch(String queryNumber,
MatchingQueryTerms queryTerms,
ResultSet res) |
protected void |
BaseMatching.finalise(MatchingQueryTerms queryTerms) |
protected void |
BaseMatching.initialise(MatchingQueryTerms queryTerms) |
ResultSet |
LearnedModelMatching.match(String queryNumber,
MatchingQueryTerms queryTerms) |
ResultSet |
FilterMatching.match(String queryNumber,
MatchingQueryTerms queryTerms) |
ResultSet |
FatScoringMatching.match(String queryNumber,
MatchingQueryTerms queryTerms) |
ResultSet |
FatResultsMatching.match(String queryNumber,
MatchingQueryTerms queryTerms) |
ResultSet |
FatFeaturedScoringMatching.match(String queryNumber,
MatchingQueryTerms queryTerms) |
ResultSet |
Matching.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
abstract ResultSet |
BaseMatching.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
ResultSet |
TRECResultsMatching.match(String _qid,
MatchingQueryTerms mqt) |
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,
String scoringTag,
String additionalTag)
Create a posting list manager for the given index and statistics, and populated using the specified
MatchingQueryTerms.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
Full.match(String queryNumber,
MatchingQueryTerms queryTerms)
Get a ResultSet for the given query terms.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
Full.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 |
---|---|
boolean |
QueryExpansion.expandQuery(MatchingQueryTerms query,
Request rq)
This method implements the functionality of expanding a query.
|
boolean |
MQTRewritingProcess.expandQuery(MatchingQueryTerms mqt,
Request rq) |
boolean |
DependenceModelPreProcess.expandQuery(MatchingQueryTerms mqt,
Request rq) |
void |
DependenceModelPreProcess.process(MatchingQueryTerms mqt,
String modelName) |
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 |
---|---|
MatchingQueryTerms |
Query.QueryTermsParameter.getTerms() |
Modifier and Type | Method and Description |
---|---|
void |
SingleTermQuery.obtainQueryTerms(MatchingQueryTerms terms,
String field,
Boolean required,
Double weight) |
void |
RequirementQuery.obtainQueryTerms(MatchingQueryTerms terms,
String field,
Boolean required,
Double weight) |
abstract void |
Query.obtainQueryTerms(MatchingQueryTerms terms,
String field,
Boolean required,
Double weight) |
void |
PhraseQuery.obtainQueryTerms(MatchingQueryTerms terms,
String field,
Boolean required,
Double weight) |
void |
MultiTermQuery.obtainQueryTerms(MatchingQueryTerms terms,
String field,
Boolean required,
Double weight) |
void |
FieldQuery.obtainQueryTerms(MatchingQueryTerms terms,
String field,
Boolean required,
Double weight) |
void |
ExplicitMultiTermQuery.obtainQueryTerms(MatchingQueryTerms terms,
String field,
Boolean required,
Double parentWeight) |
void |
DisjunctiveQuery.obtainQueryTerms(MatchingQueryTerms terms,
String field,
Boolean required,
Double weight) |
static Query.QueryTermsParameter |
Query.QueryTermsParameter.of(MatchingQueryTerms terms,
boolean lowercase) |
void |
Query.QueryTermsParameter.setTerms(MatchingQueryTerms terms) |
Constructor and Description |
---|
QueryTermsParameter(MatchingQueryTerms terms,
boolean lowercase,
String field,
Boolean required,
Double weight) |
QueryTermsParameter(MatchingQueryTerms terms,
String field,
Boolean required,
Double weight) |
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow