Constructor and Description |
---|
QueryTermsParameter(MatchingQueryTerms terms,
boolean lowercase,
String field,
Boolean required,
Double weight) |
QueryTermsParameter(MatchingQueryTerms terms,
String field,
Boolean required,
Double weight) |
Modifier and Type | Method and Description |
---|---|
String |
getField() |
MatchingQueryTerms |
getTerms() |
Double |
getWeight() |
Boolean |
isRequired() |
boolean |
lowercase() |
static Query.QueryTermsParameter |
of(MatchingQueryTerms terms,
boolean lowercase) |
void |
setField(String field) |
void |
setRequired(Boolean required) |
void |
setTerms(MatchingQueryTerms terms) |
void |
setWeight(Double weight) |
public QueryTermsParameter(MatchingQueryTerms terms, String field, Boolean required, Double weight)
public QueryTermsParameter(MatchingQueryTerms terms, boolean lowercase, String field, Boolean required, Double weight)
public static Query.QueryTermsParameter of(MatchingQueryTerms terms, boolean lowercase)
public MatchingQueryTerms getTerms()
public void setTerms(MatchingQueryTerms terms)
public String getField()
public void setField(String field)
public Boolean isRequired()
public boolean lowercase()
public void setRequired(Boolean required)
public Double getWeight()
public void setWeight(Double weight)
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow