Constructor ProximityQueryNode
ProximityQueryNode(IList<IQueryNode>, String, ProximityQueryNode.Type, Int32, Boolean)
Declaration
public ProximityQueryNode(IList<IQueryNode> clauses, string field, ProximityQueryNode.Type type, int distance, bool inorder)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<IQueryNode> | clauses | QueryNode children |
System.String | field | field name |
ProximityQueryNode.Type | type | type of proximity query |
System.Int32 | distance | positive integer that specifies the distance |
System.Boolean | inorder | true, if the tokens should be matched in the order of the clauses |
ProximityQueryNode(IList<IQueryNode>, String, ProximityQueryNode.Type, Boolean)
Declaration
public ProximityQueryNode(IList<IQueryNode> clauses, string field, ProximityQueryNode.Type type, bool inorder)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<IQueryNode> | clauses | QueryNode children |
System.String | field | field name |
ProximityQueryNode.Type | type | type of proximity query |
System.Boolean | inorder | true, if the tokens should be matched in the order of the clauses |