Hi all,

I’m using Solr (version 9.8.1) with a knn_vector field and I’d like to
filter for documents that *do not have* this vector field populated.

I tried using the query:

-my_vector:[* TO *]

…but Solr returns the following error:

*“Range Queries are not supported for Dense Vector fields. Please use the
{!knn} query parser to run K nearest neighbors search queries.”*

Is there a supported way to filter documents that *do not have a value for
a knn_vector field* (i.e., the field is missing)?

Any suggestions or workarounds would be appreciated.

Thanks, Vincenzo

-- 
Vincenzo D'Amore

Reply via email to