Class UserInputQueryBuilder
UserInputQueryBuilder uses 1 of 2 strategies for thread-safe parsing: 1) Synchronizing access to "Parse" calls on a previously supplied QueryParser or.. 2) creating a new QueryParser object for each parse request
Inheritance
System.Object
UserInputQueryBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.QueryParser.dll
Syntax
[Serializable]
public class UserInputQueryBuilder : IQueryBuilder
Constructors
Name | Description |
---|---|
UserInputQueryBuilder(QueryParser) | This constructor has the disadvantage of not being able to change choice of default field name |
UserInputQueryBuilder(String, Analyzer) |
Methods
Name | Description |
---|---|
CreateQueryParser(String, Analyzer) | Method to create a QueryParser - designed to be overridden |
GetQuery(XmlElement) | (non-Javadoc) @see org.apache.lucene.xmlparser.QueryObjectBuilder#process(org.w3c.dom.Element) |