Class GroupQueryNodeProcessor
The ISyntaxParser generates query node trees that consider the boolean operator precedence, but Lucene current syntax does not support boolean precedence, so this processor remove all the precedence and apply the equivalent modifier according to the boolean operation defined on an specific query node.
If there is a GroupQueryNode in the query node tree, the query node tree is not merged with the one above it.
Example: TODO: describe a good example to show how this processor works
Inheritance
System.Object
GroupQueryNodeProcessor
Implements
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()
Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Processors
Assembly: Lucene.Net.QueryParser.dll
Syntax
[Obsolete("Use BooleanQuery2ModifierNodeProcessor instead")]
public class GroupQueryNodeProcessor : IQueryNodeProcessor
Constructors
| Improve this Doc View SourceGroupQueryNodeProcessor()
Declaration
public GroupQueryNodeProcessor()
Methods
| Improve this Doc View SourceGetQueryConfigHandler()
Declaration
public virtual QueryConfigHandler GetQueryConfigHandler()
Returns
Type | Description |
---|---|
QueryConfigHandler |
Process(IQueryNode)
Declaration
public virtual IQueryNode Process(IQueryNode queryTree)
Parameters
Type | Name | Description |
---|---|---|
IQueryNode | queryTree |
Returns
Type | Description |
---|---|
IQueryNode |
SetQueryConfigHandler(QueryConfigHandler)
Declaration
public virtual void SetQueryConfigHandler(QueryConfigHandler queryConfigHandler)
Parameters
Type | Name | Description |
---|---|---|
QueryConfigHandler | queryConfigHandler |