Table of Contents

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 string

Lexeme text.

NpgsqlTsQueryLexeme(string, Weight)

Creates a tsquery lexeme with lexeme text and weights.

public NpgsqlTsQueryLexeme(string text, NpgsqlTsQueryLexeme.Weight weights)

Parameters

text string

Lexeme text.

weights NpgsqlTsQueryLexeme.Weight

Bitmask 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 string

Lexeme text.

weights NpgsqlTsQueryLexeme.Weight

Bitmask of enum Weight.

isPrefixSearch bool

Is prefix search?

Properties

IsPrefixSearch

Prefix search.

public bool IsPrefixSearch { get; set; }

Property Value

bool

Text

Lexeme text.

public string Text { get; set; }

Property Value

string

Weights

Weights is a bitmask of the Weight enum.

public NpgsqlTsQueryLexeme.Weight Weights { get; set; }

Property Value

NpgsqlTsQueryLexeme.Weight