Filter by Dense or Sparse Vector

Hello,

According to https://github.com/elastic/elasticsearch/issues/31615 we can sort by cosine similarity of vectors. But how can we filter by vector values?

For example I want to filter all docs that index number 10 in the vector is less than X number. In other words filter to the docs where my_vector_field[10] < X.

How can this be done?
Thanks,
Sep

Hello,
filtering by individual values is not supported. We have decided not to support sorting as well.
Currently vectors can be used only in script_score query using predefined vector functions.
However, if you think that accessing individual fields is a valid use case, please submit a new issue describing your use case in more detail.

Ok cool. Thanks for responding. I will submit a new issue.