Class SrndQuery
java.lang.Object
org.apache.lucene.queryparser.surround.query.SrndQuery
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ComposedQuery,FieldsQuery,SimpleTerm
Lowest level base class for surround queries
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanFor subclasses ofSrndQuerywithin the packageorg.apache.lucene.queryparser.surround.queryit is not necessary to override this method,floatinthashCode()For subclasses ofSrndQuerywithin the packageorg.apache.lucene.queryparser.surround.queryit is not necessary to override this method,booleanbooleanmakeLuceneQueryField(String fieldName, BasicQueryFactory qf) abstract QuerymakeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf) voidsetWeight(float w) abstract StringtoString()This method is used byhashCode()andequals(Object), see LUCENE-2945.protected void
-
Constructor Details
-
SrndQuery
public SrndQuery()
-
-
Method Details
-
setWeight
public void setWeight(float w) -
isWeighted
public boolean isWeighted() -
getWeight
public float getWeight() -
getWeightString
-
getWeightOperator
-
weightToString
-
makeLuceneQueryField
-
makeLuceneQueryFieldNoBoost
-
toString
This method is used byhashCode()andequals(Object), see LUCENE-2945. -
isFieldsSubQueryAcceptable
public boolean isFieldsSubQueryAcceptable() -
clone
-
hashCode
public int hashCode()For subclasses ofSrndQuerywithin the packageorg.apache.lucene.queryparser.surround.queryit is not necessary to override this method, -
equals
For subclasses ofSrndQuerywithin the packageorg.apache.lucene.queryparser.surround.queryit is not necessary to override this method,
-