public class ExplicitMultiTermQuery extends MultiTermQuery
Query.ForEachQueryNode, Query.QTPBuilder, Query.QueryTermsParameterprefix, suffix, v| Constructor and Description |
|---|
ExplicitMultiTermQuery()
Constructs an instance of the ExplicitMultiTermQuery.
|
| Modifier and Type | Method and Description |
|---|---|
void |
obtainQueryTerms(MatchingQueryTerms terms,
String field,
Boolean required,
Double parentWeight) |
void |
obtainQueryTerms(Query.QueryTermsParameter parameters) |
void |
setWeight(double w)
Sets the weight of the query term.
|
add, add, apply, applyTermPipeline, clone, getNumberOfTerms, getTerms, getTermsOf, obtainAllOf, obtainControls, parseTree, replace, toStringpublic ExplicitMultiTermQuery()
public void obtainQueryTerms(MatchingQueryTerms terms, String field, Boolean required, Double parentWeight)
obtainQueryTerms in class MultiTermQuerypublic void obtainQueryTerms(Query.QueryTermsParameter parameters)
obtainQueryTerms in class MultiTermQuerypublic void setWeight(double w)
setWeight in class MultiTermQueryw - double the weight of the query term.Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow