org.apache.lucene.queryParser.surround.query
Class SrndQuery
java.lang.Object
org.apache.lucene.queryParser.surround.query.SrndQuery
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- ComposedQuery, FieldsQuery, SimpleTerm
public abstract class SrndQuery
- extends Object
- implements Cloneable
theEmptyLcnQuery
public static final Query theEmptyLcnQuery
SrndQuery
public SrndQuery()
setWeight
public void setWeight(float w)
isWeighted
public boolean isWeighted()
getWeight
public float getWeight()
getWeightString
public String getWeightString()
getWeightOperator
public String getWeightOperator()
weightToString
protected void weightToString(StringBuilder r)
makeLuceneQueryField
public Query makeLuceneQueryField(String fieldName,
BasicQueryFactory qf)
makeLuceneQueryFieldNoBoost
public abstract Query makeLuceneQueryFieldNoBoost(String fieldName,
BasicQueryFactory qf)
toString
public abstract String toString()
- Overrides:
toString
in class Object
isFieldsSubQueryAcceptable
public boolean isFieldsSubQueryAcceptable()
clone
public Object clone()
- Overrides:
clone
in class Object
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.