Package org.terrier.querying.parser
Class Query.QTPBuilder
- java.lang.Object
-
- org.terrier.querying.parser.Query.QTPBuilder
-
- Enclosing class:
- Query
public static class Query.QTPBuilder extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Query.QTPBuilder
addWeightingModel(WeightingModel wm)
MatchingQueryTerms.MatchingTerm
build()
static Query.QTPBuilder
of(Operator term)
Query.QTPBuilder
setRequired(java.lang.Boolean positiveReq)
Query.QTPBuilder
setTag(java.lang.String tag)
Query.QTPBuilder
setWeight(java.lang.Double w)
Query.QTPBuilder
setWeightingModels(java.util.List<WeightingModel> wms)
-
-
-
Method Detail
-
of
public static Query.QTPBuilder of(Operator term)
-
addWeightingModel
public Query.QTPBuilder addWeightingModel(WeightingModel wm)
-
setWeightingModels
public Query.QTPBuilder setWeightingModels(java.util.List<WeightingModel> wms)
-
setWeight
public Query.QTPBuilder setWeight(java.lang.Double w)
-
setRequired
public Query.QTPBuilder setRequired(java.lang.Boolean positiveReq)
-
setTag
public Query.QTPBuilder setTag(java.lang.String tag)
-
build
public MatchingQueryTerms.MatchingTerm build()
-
-