Class OpaqueQueryNode
A OpaqueQueryNode is used for specify values that are not supposed to be parsed by the parser. For example: and XPATH query in the middle of a query string a b @xpath:'/bookstore/book[1]/title' c d
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Core.Nodes
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class OpaqueQueryNode : QueryNode, IQueryNode
  Constructors
OpaqueQueryNode(string, string)
A OpaqueQueryNode is used for specify values that are not supposed to be parsed by the parser. For example: and XPATH query in the middle of a query string a b @xpath:'/bookstore/book[1]/title' c d
Declaration
public OpaqueQueryNode(string schema, string value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | schema | schema identifier  | 
      
| string | value | value that was not parsed  | 
      
Properties
Schema
Gets the schema
Declaration
public virtual string Schema { get; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Value
Gets the value
Declaration
public virtual string Value { get; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Methods
CloneTree()
Recursive clone the IQueryNode tree. The tags are not copied to the new tree when you call the CloneTree() method.
Declaration
public override IQueryNode CloneTree()
  Returns
| Type | Description | 
|---|---|
| IQueryNode | the cloned tree  | 
      
Overrides
ToQueryString(IEscapeQuerySyntax)
convert to a query string understood by the query parser
Declaration
public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IEscapeQuerySyntax | escapeSyntaxParser | 
Returns
| Type | Description | 
|---|---|
| string | 
Overrides
ToString()
Every implementation of this class should return pseudo xml like this:
For FieldQueryNode: <field start='1' end='2' field='subject' text='foo'/>
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| string |