Class NpgsqlTsQueryLexeme
TsQuery Lexeme node.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NpgsqlTypes
Assembly: Npgsql.dll
Syntax
public sealed class NpgsqlTsQueryLexeme : NpgsqlTsQuery
Constructors
NpgsqlTsQueryLexeme(String)
Creates a tsquery lexeme with only lexeme text.
Declaration
public NpgsqlTsQueryLexeme(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Lexeme text. |
NpgsqlTsQueryLexeme(String, NpgsqlTsQueryLexeme.Weight)
Creates a tsquery lexeme with lexeme text and weights.
Declaration
public NpgsqlTsQueryLexeme(string text, NpgsqlTsQueryLexeme.Weight weights)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Lexeme text. |
NpgsqlTsQueryLexeme.Weight | weights | Bitmask of enum Weight. |
NpgsqlTsQueryLexeme(String, NpgsqlTsQueryLexeme.Weight, Boolean)
Creates a tsquery lexeme with lexeme text, weights and prefix search flag.
Declaration
public NpgsqlTsQueryLexeme(string text, NpgsqlTsQueryLexeme.Weight weights, bool isPrefixSearch)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Lexeme text. |
NpgsqlTsQueryLexeme.Weight | weights | Bitmask of enum Weight. |
System.Boolean | isPrefixSearch | Is prefix search? |
Properties
IsPrefixSearch
Prefix search.
Declaration
public bool IsPrefixSearch { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Text
Lexeme text.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Weights
Weights is a bitmask of the Weight enum.
Declaration
public NpgsqlTsQueryLexeme.Weight Weights { get; set; }
Property Value
Type | Description |
---|---|
NpgsqlTsQueryLexeme.Weight |