Class FieldsQuery
- java.lang.Object
-
- org.apache.lucene.queryparser.surround.query.SrndQuery
-
- org.apache.lucene.queryparser.surround.query.FieldsQuery
-
-
Constructor Summary
Constructors Constructor Description FieldsQuery(SrndQuery q, String fieldName, char fieldOp)
FieldsQuery(SrndQuery q, List<String> fieldNames, char fieldOp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fieldNamesToString(StringBuilder r)
List<String>
getFieldNames()
char
getFieldOperator()
boolean
isFieldsSubQueryAcceptable()
Query
makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf)
Query
makeLuceneQueryNoBoost(BasicQueryFactory qf)
String
toString()
This method is used bySrndQuery.hashCode()
andSrndQuery.equals(Object)
, see LUCENE-2945.-
Methods inherited from class org.apache.lucene.queryparser.surround.query.SrndQuery
clone, equals, getWeight, getWeightOperator, getWeightString, hashCode, isWeighted, makeLuceneQueryField, setWeight, weightToString
-
-
-
-
Method Detail
-
isFieldsSubQueryAcceptable
public boolean isFieldsSubQueryAcceptable()
- Overrides:
isFieldsSubQueryAcceptable
in classSrndQuery
-
makeLuceneQueryNoBoost
public Query makeLuceneQueryNoBoost(BasicQueryFactory qf)
-
makeLuceneQueryFieldNoBoost
public Query makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf)
- Specified by:
makeLuceneQueryFieldNoBoost
in classSrndQuery
-
getFieldOperator
public char getFieldOperator()
-
toString
public String toString()
Description copied from class:SrndQuery
This method is used bySrndQuery.hashCode()
andSrndQuery.equals(Object)
, see LUCENE-2945.
-
fieldNamesToString
protected void fieldNamesToString(StringBuilder r)
-
-