Class RegexpQueryNode
A RegexpQueryNode represents RegexpQuery query Examples: /[a-z]|[0-9]/
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)
Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Nodes
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class RegexpQueryNode : QueryNode, ITextableQueryNode, IFieldableNode, IQueryNode
Constructors
| Improve this Doc View SourceRegexpQueryNode(String, ICharSequence, Int32, Int32)
Declaration
public RegexpQueryNode(string field, ICharSequence text, int begin, int end)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | field name |
J2N.Text.ICharSequence | text | value that contains a regular expression |
System.Int32 | begin | position in the query string |
System.Int32 | end | position in the query string |
RegexpQueryNode(String, String, Int32, Int32)
Declaration
public RegexpQueryNode(string field, string text, int begin, int end)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | field name |
System.String | text | value that contains a regular expression |
System.Int32 | begin | position in the query string |
System.Int32 | end | position in the query string |
RegexpQueryNode(String, StringBuilder, Int32, Int32)
Declaration
public RegexpQueryNode(string field, StringBuilder text, int begin, int end)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | field name |
System.Text.StringBuilder | text | value that contains a regular expression |
System.Int32 | begin | position in the query string |
System.Int32 | end | position in the query string |
Properties
| Improve this Doc View SourceField
Declaration
public virtual string Field { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Text
Declaration
public virtual ICharSequence Text { get; set; }
Property Value
Type | Description |
---|---|
J2N.Text.ICharSequence |
Methods
| Improve this Doc View SourceCloneTree()
Declaration
public override IQueryNode CloneTree()
Returns
Type | Description |
---|---|
IQueryNode |
Overrides
| Improve this Doc View SourceGetFieldAsString()
Declaration
public virtual string GetFieldAsString()
Returns
Type | Description |
---|---|
System.String |
TextToBytesRef()
Declaration
public virtual BytesRef TextToBytesRef()
Returns
Type | Description |
---|---|
BytesRef |
ToQueryString(IEscapeQuerySyntax)
Declaration
public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser)
Parameters
Type | Name | Description |
---|---|---|
IEscapeQuerySyntax | escapeSyntaxParser |
Returns
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |