Class CoreParser
Assembles a IQueryBuilder which uses only core Lucene Query objects
Inheritance
System.Object
CoreParser
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class CoreParser : IQueryBuilder
Constructors
|
Improve this Doc
View Source
CoreParser(Analyzer, QueryParser)
Construct an XML parser that uses a single instance QueryParser for handling
UserQuery tags - all parse operations are synchronised on this parser
Declaration
public CoreParser(Analyzer analyzer, QueryParser parser)
Parameters
Type |
Name |
Description |
Lucene.Net.Analysis.Analyzer |
analyzer |
|
QueryParser |
parser |
A QueryParser which will be synchronized on during parse calls.
|
|
Improve this Doc
View Source
CoreParser(String, Analyzer)
Constructs an XML parser that creates a QueryParser for each UserQuery request.
Declaration
public CoreParser(string defaultField, Analyzer analyzer)
Parameters
Type |
Name |
Description |
System.String |
defaultField |
The default field name used by QueryParsers constructed for UserQuery tags
|
Lucene.Net.Analysis.Analyzer |
analyzer |
|
|
Improve this Doc
View Source
CoreParser(String, Analyzer, QueryParser)
Declaration
protected CoreParser(string defaultField, Analyzer analyzer, QueryParser parser)
Parameters
Type |
Name |
Description |
System.String |
defaultField |
|
Lucene.Net.Analysis.Analyzer |
analyzer |
|
QueryParser |
parser |
|
Fields
|
Improve this Doc
View Source
m_analyzer
Declaration
protected Analyzer m_analyzer
Field Value
Type |
Description |
Lucene.Net.Analysis.Analyzer |
|
|
Improve this Doc
View Source
m_filterFactory
Declaration
protected FilterBuilderFactory m_filterFactory
Field Value
|
Improve this Doc
View Source
m_parser
Declaration
protected QueryParser m_parser
Field Value
|
Improve this Doc
View Source
m_queryFactory
Declaration
protected QueryBuilderFactory m_queryFactory
Field Value
|
Improve this Doc
View Source
maxNumCachedFilters
Declaration
public static int maxNumCachedFilters
Field Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
AddFilterBuilder(String, IFilterBuilder)
Declaration
public virtual void AddFilterBuilder(string nodeName, IFilterBuilder builder)
Parameters
|
Improve this Doc
View Source
AddQueryBuilder(String, IQueryBuilder)
Declaration
public virtual void AddQueryBuilder(string nodeName, IQueryBuilder builder)
Parameters
Type |
Name |
Description |
System.String |
nodeName |
|
IQueryBuilder |
builder |
|
|
Improve this Doc
View Source
GetQuery(XmlElement)
Declaration
public virtual Query GetQuery(XmlElement e)
Parameters
Type |
Name |
Description |
System.Xml.XmlElement |
e |
|
Returns
Type |
Description |
Lucene.Net.Search.Query |
|
|
Improve this Doc
View Source
Parse(Stream)
Declaration
public virtual Query Parse(Stream xmlStream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
xmlStream |
|
Returns
Type |
Description |
Lucene.Net.Search.Query |
|
|
Improve this Doc
View Source
Parse(TextReader)
Declaration
public virtual Query Parse(TextReader xmlTextReader)
Parameters
Type |
Name |
Description |
System.IO.TextReader |
xmlTextReader |
|
Returns
Type |
Description |
Lucene.Net.Search.Query |
|
|
Improve this Doc
View Source
Parse(XmlDocument)
Declaration
public virtual Query Parse(XmlDocument xmlDocument)
Parameters
Type |
Name |
Description |
System.Xml.XmlDocument |
xmlDocument |
|
Returns
Type |
Description |
Lucene.Net.Search.Query |
|
|
Improve this Doc
View Source
Parse(XmlReader)
Declaration
public virtual Query Parse(XmlReader xmlReader)
Parameters
Type |
Name |
Description |
System.Xml.XmlReader |
xmlReader |
|
Returns
Type |
Description |
Lucene.Net.Search.Query |
|
Implements