Class NpgsqlTsQueryLexeme
- Namespace
- NpgsqlTypes
- Assembly
- Npgsql.dll
TsQuery Lexeme node.
public sealed class NpgsqlTsQueryLexeme : NpgsqlTsQuery
- Inheritance
-
NpgsqlTsQueryLexeme
- Inherited Members
Constructors
NpgsqlTsQueryLexeme(string)
Creates a tsquery lexeme with only lexeme text.
public NpgsqlTsQueryLexeme(string text)
Parameters
text
stringLexeme text.
NpgsqlTsQueryLexeme(string, Weight)
Creates a tsquery lexeme with lexeme text and weights.
public NpgsqlTsQueryLexeme(string text, NpgsqlTsQueryLexeme.Weight weights)
Parameters
text
stringLexeme text.
weights
NpgsqlTsQueryLexeme.WeightBitmask of enum Weight.
NpgsqlTsQueryLexeme(string, Weight, bool)
Creates a tsquery lexeme with lexeme text, weights and prefix search flag.
public NpgsqlTsQueryLexeme(string text, NpgsqlTsQueryLexeme.Weight weights, bool isPrefixSearch)
Parameters
text
stringLexeme text.
weights
NpgsqlTsQueryLexeme.WeightBitmask of enum Weight.
isPrefixSearch
boolIs prefix search?
Properties
IsPrefixSearch
Prefix search.
public bool IsPrefixSearch { get; set; }
Property Value
Text
Lexeme text.
public string Text { get; set; }
Property Value
Weights
Weights is a bitmask of the Weight enum.
public NpgsqlTsQueryLexeme.Weight Weights { get; set; }