Skip to content

PgTsWeight

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Labels a lexeme position in a tsvector, as PostgreSQL’s setweight assigns it. An unlabeled position is D.

public enum PgTsWeight : byte

The highest label.

A = 3

The second label.

B = 2

The third label.

C = 1

The lowest label, which PostgreSQL leaves out of a tsvector’s text.

D = 0