Java org.apache.lucene.queryparser.flexible.standard StandardQueryParser fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.queryparser.flexible.standard StandardQueryParser fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.queryparser.flexible.standard StandardQueryParser.

The text is from its open source code.

Subclass

org.apache.lucene.queryparser.flexible.standard.StandardQueryParser has subclasses.
Click this link to see all its subclasses.

Constructor

StandardQueryParser()
Constructs a StandardQueryParser object.
StandardQueryParser(Analyzer analyzer)
Constructs a StandardQueryParser object and sets an Analyzer to it.

Method

Queryparse(String query, String defaultField)
Overrides QueryParserHelper#parse(String,String) so it casts the return object to Query .
voidsetAllowLeadingWildcard(boolean allowLeadingWildcard)
Set to true to allow leading wildcard characters.
voidsetAnalyzer(Analyzer analyzer)
voidsetDefaultOperator(StandardQueryConfigHandler.Operator operator)
Sets the boolean operator of the QueryParser.
voidsetMultiFields(CharSequence[] fields)
Set the fields a query should be expanded to when the field is null