public abstract class SrndQuery extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
static Query |
theEmptyLcnQuery
An empty Lucene query
|
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. |
public static final Query theEmptyLcnQuery
public void setWeight(float w)
public boolean isWeighted()
public float getWeight()
public String getWeightString()
public String getWeightOperator()
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 © 2010 - 2020 Adobe. All Rights Reserved