The current limitations of PolarDB PostgreSQL's text search features are:
The length of each lexeme must be less than 2 kilobytes
The length of a
tsvector(lexemes + positions) must be less than 1 megabyteThe number of lexemes must be less than 264
Position values in
tsvectormust be greater than 0 and no more than 16,383The match distance in a
<>(FOLLOWED BY)tsqueryoperator cannot be more than 16,384No more than 256 positions per lexeme
The number of nodes (lexemes + operators) in a
tsquerymust be less than 32,768