Search Results for

    Show / Hide Table of Contents

    Class NpgsqlTsQueryLexeme

    TsQuery Lexeme node.

    Inheritance
    Object
    NpgsqlTsQuery
    NpgsqlTsQueryLexeme
    Inherited Members
    NpgsqlTsQuery.Kind
    NpgsqlTsQuery.ToString()
    NpgsqlTsQuery.Parse(String)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: NpgsqlTypes
    Assembly: Npgsql.dll
    Syntax
    public sealed class NpgsqlTsQueryLexeme : NpgsqlTsQuery

    Constructors

    | Improve this Doc

    NpgsqlTsQueryLexeme(String)

    Creates a tsquery lexeme with only lexeme text.

    Declaration
    public NpgsqlTsQueryLexeme(string text)
    Parameters
    Type Name Description
    String text

    Lexeme text.

    | Improve this Doc

    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
    String text

    Lexeme text.

    NpgsqlTsQueryLexeme.Weight weights

    Bitmask of enum Weight.

    | Improve this Doc

    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
    String text

    Lexeme text.

    NpgsqlTsQueryLexeme.Weight weights

    Bitmask of enum Weight.

    Boolean isPrefixSearch

    Is prefix search?

    Properties

    | Improve this Doc

    IsPrefixSearch

    Prefix search.

    Declaration
    public bool IsPrefixSearch { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc

    Text

    Lexeme text.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc

    Weights

    Weights is a bitmask of the Weight enum.

    Declaration
    public NpgsqlTsQueryLexeme.Weight Weights { get; set; }
    Property Value
    Type Description
    NpgsqlTsQueryLexeme.Weight
    • Improve this Doc
    In This Article
    Back to top © Copyright 2021 The Npgsql Development Team