Closed rohany closed 4 months ago
We have marked this issue as stale because it has been inactive for 18 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 5 days to keep the issue queue tidy. Thank you for your contribution to CockroachDB!
@fqazi unsupported function array_to_tsvector
affects efcore.pg tests
@giangpham712 Can you confirm if we need anything else here, this might be one of the easier ones to address
@fqazi Related to full text search, we have multiple issues
Unsupported features:
array_to_tsvector
setweight
ts_delete
ts_headline
regconfig
regdictionary
length(tsvector)
numnode
querytree
ts_rank_cd
ts_rewrite
tsquery_phrase
strip
websearch_to_tsquery
unaccent(string, varchar)
Other issues:
unsupported comparison operator: to_tsvector("ContactTitle") @@ to_tsquery('owner') || to_tsquery('foo'): unsupported
binary operator: <tsquery> || <tsquery>
unsupported comparison operator: <tsquery> && <tsquery>
unsupported comparison operator: <tsquery> @> <tsquery>
unsupported comparison operator: <tsquery> <@ <tsquery>
unsupported binary operator: <tsquery> || <tsquery>
unsupported binary operator: <tsvector> || <tsvector>
SELECT !!to_tsquery('a & b')
FROM "Customers" AS c
LIMIT 1
returns error plainto_tsquery(): text-search query doesn't contain lexemes: a
@giangpham712 Let's skip tests with tsvector for now, let me follow up with the queries team for the issue you found
Postgres has some advanced text search types and features that Django uses that we we don't support -- https://www.postgresql.org/docs/10/functions-textsearch.html https://www.postgresql.org/docs/10/datatype-textsearch.html
This includes the
tsvector
andregconfig
types and operations on them.tsvector
datastructuretsquery
datastructureto_tsvector
to_tsquery
phraseto_tsquery
plainto_tsquery
websearch_to_tsquery
tsquery_phrase
@@
ts_rank
ts_rank_cd
strip(tsvector)
setweight(tsvector)
array_to_tsvector(text[])
numnode(tsquery)
querytree(tsquery)
ts_delete(tsvector, text)
ts_headline
ts_rewrite
tsvector_to_array(tsvector)
jsonb_to_tsvector
/json_to_tsvector
(#109955)unnest(tsvector)
And SQL operators for tsvector:
@@
(matching a tsvector and tsquery)Jira issue: CRDB-5464 Epic: CRDB-22357