Package org.terrier.querying.parser
Class Query.QueryTermsParameter
- java.lang.Object
-
- org.terrier.querying.parser.Query.QueryTermsParameter
-
- Enclosing class:
- Query
public static class Query.QueryTermsParameter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description QueryTermsParameter(MatchingQueryTerms terms, boolean lowercase, java.lang.String field, java.lang.Boolean required, java.lang.Double weight)
QueryTermsParameter(MatchingQueryTerms terms, java.lang.String field, java.lang.Boolean required, java.lang.Double weight)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getField()
MatchingQueryTerms
getTerms()
java.lang.Double
getWeight()
java.lang.Boolean
isRequired()
boolean
lowercase()
static Query.QueryTermsParameter
of(MatchingQueryTerms terms, boolean lowercase)
void
setField(java.lang.String field)
void
setRequired(java.lang.Boolean required)
void
setTerms(MatchingQueryTerms terms)
void
setWeight(java.lang.Double weight)
-
-
-
Constructor Detail
-
QueryTermsParameter
public QueryTermsParameter(MatchingQueryTerms terms, java.lang.String field, java.lang.Boolean required, java.lang.Double weight)
-
QueryTermsParameter
public QueryTermsParameter(MatchingQueryTerms terms, boolean lowercase, java.lang.String field, java.lang.Boolean required, java.lang.Double weight)
-
-
Method Detail
-
of
public static Query.QueryTermsParameter of(MatchingQueryTerms terms, boolean lowercase)
-
getTerms
public MatchingQueryTerms getTerms()
-
setTerms
public void setTerms(MatchingQueryTerms terms)
-
getField
public java.lang.String getField()
-
setField
public void setField(java.lang.String field)
-
isRequired
public java.lang.Boolean isRequired()
-
lowercase
public boolean lowercase()
-
setRequired
public void setRequired(java.lang.Boolean required)
-
getWeight
public java.lang.Double getWeight()
-
setWeight
public void setWeight(java.lang.Double weight)
-
-