From 40d180a7efe7fd1c9109ffd26097ad7bd9d73bf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Hudobski?= Date: Mon, 9 Mar 2026 09:34:42 +0100 Subject: [PATCH] docs: update vector search filtering to reflect primary key support only Remove outdated references to filtering on columns provided in the index definition, and remove the note about equal relations (= and IN) being the only supported operations. Vector search filtering currently supports WHERE clauses on primary key columns only. Closes scylladb/scylladb#28949 --- docs/cql/dml/select.rst | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/cql/dml/select.rst b/docs/cql/dml/select.rst index 3600d0bc31..adec4a7d8d 100644 --- a/docs/cql/dml/select.rst +++ b/docs/cql/dml/select.rst @@ -292,8 +292,8 @@ For example:: ORDER BY embedding ANN OF [0.1, 0.2, 0.3, 0.4] LIMIT 5; -Vector queries also support filtering with ``WHERE`` clauses on columns that are part of the primary key -or columns provided in a definition of the index. +Vector queries also support filtering with ``WHERE`` clauses on columns that are part of the primary key. +See :ref:`WHERE `. For example:: @@ -301,10 +301,6 @@ For example:: WHERE user_id = 'user123' ORDER BY embedding ANN OF [0.1, 0.2, 0.3, 0.4] LIMIT 5; -The supported operations are equal relations (``=`` and ``IN``) with restrictions as in regular ``WHERE`` clauses. See :ref:`WHERE `. - -Other filtering scenarios are currently not supported. - .. note:: Vector indexes are supported in ScyllaDB Cloud only in clusters that have the Vector Search feature enabled.