|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.queryparser.surround.query.SrndQuery
public abstract class SrndQuery
Lowest level base class for surround queries
Field Summary | |
---|---|
static Query |
theEmptyLcnQuery
An empty Lucene query |
Constructor Summary | |
---|---|
SrndQuery()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Query theEmptyLcnQuery
Constructor Detail |
---|
public SrndQuery()
Method Detail |
---|
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.
toString
in class Object
public boolean isFieldsSubQueryAcceptable()
public SrndQuery clone()
clone
in class Object
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |