public class ExplicitMultiTermQuery extends MultiTermQuery
Query.ForEachQueryNode, Query.QTPBuilder, Query.QueryTermsParameter
prefix, 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, toString
public ExplicitMultiTermQuery()
public void obtainQueryTerms(MatchingQueryTerms terms, String field, Boolean required, Double parentWeight)
obtainQueryTerms
in class MultiTermQuery
public void obtainQueryTerms(Query.QueryTermsParameter parameters)
obtainQueryTerms
in class MultiTermQuery
public void setWeight(double w)
setWeight
in class MultiTermQuery
w
- double the weight of the query term.Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow