Class QueryNode
A QueryNode is the default implementation of the interface IQueryNode
Inheritance
System.Object
QueryNode
Inherited Members
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 abstract class QueryNode : IQueryNode
Fields
Name | Description |
---|---|
m_toQueryStringIgnoreFields | If set to true the the method toQueryString will not write field names |
PLAINTEXT_FIELD_NAME | index default field |
Properties
Name | Description |
---|---|
IsLeaf | |
IsRoot | |
Parent | |
TagMap | Gets a map containing all tags attached to this query node. |
Methods
Name | Description |
---|---|
Add(IQueryNode) | |
Add(IList<IQueryNode>) | |
Allocate() | |
Clone() | |
CloneTree() | |
ContainsTag(String) | verify if a node contains a tag |
GetChildren() | a List for QueryNode object. Returns null, for nodes that do not contain children. All leaf Nodes return null. |
GetTag(String) | |
IsDefaultField(String) | This method is use toQueryString to detect if fld is the default field |
RemoveFromParent() | |
Set(IList<IQueryNode>) | |
SetTag(String, Object) | |
ToQueryString(IEscapeQuerySyntax) | |
ToString() | Every implementation of this class should return pseudo xml like this: For FieldQueryNode: <field start='1' end='2' field='subject' text='foo'/> |
UnsetTag(String) |