Package | Description |
---|---|
org.terrier.matching |
Provides the classes and interfaces used for matching documents
to queries.
|
org.terrier.matching.matchops |
This package contains matching Operators.
|
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 |
---|---|
Operator[] |
MatchingQueryTerms.getMatchingTerms()
Returns the query terms, as they were added to this object.
|
Modifier and Type | Method and Description |
---|---|
Map.Entry<Operator,MatchingQueryTerms.QueryTermProperties> |
MatchingQueryTerms.get(String singleTerm) |
Modifier and Type | Method and Description |
---|---|
MatchingQueryTerms.QueryTermProperties |
MatchingQueryTerms.get(Operator term) |
EntryStatistics |
MatchingQueryTerms.getStatistics(Operator term)
Returns the assocciated code of the given query term.
|
double |
MatchingQueryTerms.getTermWeight(Operator term)
Returns the associated weight of the given query term.
|
void |
MatchingQueryTerms.removeTerm(Operator term)
Remove a term from the list of terms to be matched
|
void |
MatchingQueryTerms.setTermProperty(Operator term,
double weight)
Adds a term to the query with a given weight.
|
void |
MatchingQueryTerms.setTermProperty(Operator term,
double weight,
WeightingModel tsm)
Sets the weight and a term score modifier for the given query term.
|
void |
MatchingQueryTerms.setTermProperty(Operator term,
EntryStatistics e) |
void |
MatchingQueryTerms.setTermProperty(Operator term,
WeightingModel tsm)
Sets a term score modifier for the given query term.
|
Constructor and Description |
---|
MatchingTerm(Operator _key,
MatchingQueryTerms.QueryTermProperties _value) |
Modifier and Type | Class and Description |
---|---|
class |
ANDQueryOp
This combines multiple operators into a single op, where must all occur
in a document.
|
class |
DateRangeOp |
class |
FuzzyTermOp
A synonym class that uses leveinsten distance to match terms.
|
class |
MultiTermOp
this is an abstract operator, which implements common
functionalities for operators that consist of multiple terms.
|
class |
PhraseOp
This combines multiple operators into a single op, where they occur adjacently.
|
class |
PrefixTermOp
A synonym class that matches terms with a common prefix in the lexicon.
|
class |
SingleTermOp
This class implements a single indexing token as a matching op.
|
class |
SynonymOp
This combines multiple operators into a single op.
|
class |
UnorderedWindowOp
This combines multiple operators into a single op, where they occur within a specified
window of tokens.
|
Modifier and Type | Method and Description |
---|---|
Operator |
Operator.clone() |
Operator[] |
MultiTermOp.getConstituents() |
static Operator |
Operator.parse(String stringRep) |
Constructor and Description |
---|
ANDQueryOp(Operator[] ts) |
MultiTermOp(Operator[] _ts) |
PhraseOp(Operator[] ts) |
SynonymOp(Operator[] ts) |
UnorderedWindowOp(Operator[] ts,
int dist) |
Modifier and Type | Method and Description |
---|---|
protected List<MatchingQueryTerms.MatchingTerm> |
DependenceModelPreProcess.SD(String modelName,
List<Operator> queryTerms) |
Modifier and Type | Method and Description |
---|---|
static Query.QTPBuilder |
Query.QTPBuilder.of(Operator term) |
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow