Class PrefixWildcardQueryNode
A PrefixWildcardQueryNode represents wildcardquery that matches abc* or *. This does not apply to phrases, this is a special case on the original lucene parser. TODO: refactor the code to remove this special case from the parser. and probably do it on a Processor
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 PrefixWildcardQueryNode : WildcardQueryNode, IFieldValuePairQueryNode<string>, IFieldableNode, IValueQueryNode<string>, IQueryNode, ITextableQueryNode
Constructors
| Improve this Doc View SourcePrefixWildcardQueryNode(FieldQueryNode)
Declaration
public PrefixWildcardQueryNode(FieldQueryNode fqn)
Parameters
Type | Name | Description |
---|---|---|
FieldQueryNode | fqn |
PrefixWildcardQueryNode(String, ICharSequence, Int32, Int32)
Declaration
public PrefixWildcardQueryNode(string field, ICharSequence text, int begin, int end)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | field name |
J2N.Text.ICharSequence | text | value including the wildcard |
System.Int32 | begin | position in the query string |
System.Int32 | end | position in the query string |
PrefixWildcardQueryNode(String, String, Int32, Int32)
Declaration
public PrefixWildcardQueryNode(string field, string text, int begin, int end)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | field name |
System.String | text | value including the wildcard |
System.Int32 | begin | position in the query string |
System.Int32 | end | position in the query string |
PrefixWildcardQueryNode(String, StringBuilder, Int32, Int32)
Declaration
public PrefixWildcardQueryNode(string field, StringBuilder text, int begin, int end)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | field name |
System.Text.StringBuilder | text | value including the wildcard |
System.Int32 | begin | position in the query string |
System.Int32 | end | position in the query string |
Methods
| Improve this Doc View SourceCloneTree()
Declaration
public override IQueryNode CloneTree()
Returns
Type | Description |
---|---|
IQueryNode |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |