Class CorePlusExtensionsParser
Assembles a Lucene.Net.Util.QueryBuilder which uses Lucene.Net.Search.Query objects from
Lucene's sandbox
and queries
modules in addition to core queries.
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Xml
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class CorePlusExtensionsParser : CoreParser, IQueryBuilder
Constructors
CorePlusExtensionsParser(Analyzer, QueryParser)
Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronized on this parser
Declaration
public CorePlusExtensionsParser(Analyzer analyzer, QueryParser parser)
Parameters
Type | Name | Description |
---|---|---|
Analyzer | analyzer | |
QueryParser | parser | A QueryParser which will be synchronized on during parse calls. |
CorePlusExtensionsParser(string, Analyzer)
Constructs an XML parser that creates a QueryParser for each UserQuery request.
Declaration
public CorePlusExtensionsParser(string defaultField, Analyzer analyzer)
Parameters
Type | Name | Description |
---|---|---|
string | defaultField | The default field name used by QueryParsers constructed for UserQuery tags |
Analyzer | analyzer |