Skip to content

PgTsLexeme

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Holds one lexeme of a tsvector, in stored order, with its positions.

public sealed class PgTsLexeme

Inheritance: object

Gets the word’s positions in ascending order, or none for a tsvector that PostgreSQL stored without them, as strip does.

public IReadOnlyList<PgTsPosition> Positions { get; }

Value: IReadOnlyList<PgTsPosition>

Gets the normalized word.

public string Text { get; }

Value: string

Returns the word.

public override string ToString()

Returns: string

The word.