org.apache.lucene.queryParser.surround.query
Class FieldsQuery
java.lang.Object
org.apache.lucene.queryParser.surround.query.SrndQuery
org.apache.lucene.queryParser.surround.query.FieldsQuery
- All Implemented Interfaces:
- Cloneable
public class FieldsQuery
- extends SrndQuery
FieldsQuery
public FieldsQuery(SrndQuery q,
List<String> fieldNames,
char fieldOp)
FieldsQuery
public FieldsQuery(SrndQuery q,
String fieldName,
char fieldOp)
isFieldsSubQueryAcceptable
public boolean isFieldsSubQueryAcceptable()
- Overrides:
isFieldsSubQueryAcceptable
in class SrndQuery
makeLuceneQueryNoBoost
public Query makeLuceneQueryNoBoost(BasicQueryFactory qf)
makeLuceneQueryFieldNoBoost
public Query makeLuceneQueryFieldNoBoost(String fieldName,
BasicQueryFactory qf)
- Specified by:
makeLuceneQueryFieldNoBoost
in class SrndQuery
getFieldNames
public List<String> getFieldNames()
getFieldOperator
public char getFieldOperator()
toString
public String toString()
- Specified by:
toString
in class SrndQuery
fieldNamesToString
protected void fieldNamesToString(StringBuilder r)