Table of Contents

Enum TextSearchMode

Namespace
Mythosia.VectorDb.Postgres
Assembly
Mythosia.VectorDb.Postgres.dll

Determines how the keyword/text leg of hybrid search operates.

public enum TextSearchMode

Fields

Trigram = 1

Uses pg_trgm trigram-based word_similarity matching. Better for CJK languages (Korean, Japanese, Chinese) and agglutinative languages where PostgreSQL lacks built-in morphological analysis. Requires the pg_trgm extension (standard PostgreSQL contrib module).

TsVector = 0

Uses PostgreSQL tsvector / tsquery full-text search. Works well for languages with good PostgreSQL text search configurations (e.g. European languages).