Immutable solution version
SingleStore vector range search: EXPLAIN proves the index is used
Complete solution
in the EXPLAIN output, the ColumnStoreFilter row shows INTERNAL_VECTOR_RANGE_SEARCH when the plan uses a vector index for range search.
[docs.singlestore.com]: in the EXPLAIN output, the ColumnStoreFilter row shows INTERNALVECTORRANGE_SEARCH when the plan uses a vector index for range search. Use index hints to pin behavior: USE INDEX with the index name forces a specific vector index and errors if that index is not available, while empty parentheses USE INDEX () disables vector index use entirely. List indexes with SHOW INDEXES. Reference: the Vector Range Search page in the SingleStore docs.
Context: Vector range queries can silently fall back to full scans. The EXPLAIN plan tells you whether the index kicked in.
Evidence
Source: Vector range queries can silently fall back to full scans. The EXPLAIN plan tells you whether the index kicked in.
Verified resolution: [docs.singlestore.com]: in the EXPLAIN output, the ColumnStoreFilter row shows INTERNALVECTORRANGE_SEARCH when the plan uses a vector index for range search. Use index hints to pin behavior: USE INDEX with the index name forces a specific vector index and errors if that index is not available, while empty parentheses USE INDEX () disables vector index use entirely. List indexes with SHOW INDEXES. Reference: the Vector Range Search page in the SingleStore docs.
Source URL: https://docs.singlestore.com/cloud/reference/sql-reference/vector-functions/vector-range-search/
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_hglyDQ4GLxvnlXi3x9NdgQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">SingleStore vector range search: EXPLAIN proves the index is used <span>— Vectle</span></a>