public abstract class SrndQuery extends Object implements Cloneable
Constructor and Description |
---|
SrndQuery() |
Modifier and Type | Method and Description |
---|---|
SrndQuery |
clone() |
boolean |
equals(Object obj)
For subclasses of
SrndQuery within the package
org.apache.lucene.queryparser.surround.query
it is not necessary to override this method, |
float |
getWeight() |
String |
getWeightOperator() |
String |
getWeightString() |
int |
hashCode()
For subclasses of
SrndQuery within the package
org.apache.lucene.queryparser.surround.query
it is not necessary to override this method, |
boolean |
isFieldsSubQueryAcceptable() |
boolean |
isWeighted() |
Query |
makeLuceneQueryField(String fieldName,
BasicQueryFactory qf) |
abstract Query |
makeLuceneQueryFieldNoBoost(String fieldName,
BasicQueryFactory qf) |
void |
setWeight(float w) |
abstract String |
toString()
This method is used by
hashCode() and equals(Object) ,
see LUCENE-2945. |
protected void |
weightToString(StringBuilder r) |
public void setWeight(float w)
public boolean isWeighted()
public float getWeight()
public String getWeightString()
public String getWeightOperator()
protected void weightToString(StringBuilder r)
public Query makeLuceneQueryField(String fieldName, BasicQueryFactory qf)
public abstract Query makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf)
public abstract String toString()
hashCode()
and equals(Object)
,
see LUCENE-2945.public boolean isFieldsSubQueryAcceptable()
public int hashCode()
SrndQuery
within the package
org.apache.lucene.queryparser.surround.query
it is not necessary to override this method,hashCode
in class Object
toString()
public boolean equals(Object obj)
SrndQuery
within the package
org.apache.lucene.queryparser.surround.query
it is not necessary to override this method,equals
in class Object
toString()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.