Thanks @DudaNogueira !
Searching for vectors near a query vector, gets result vectors with distances ranging from 0 up to the threshold distance. I wanted to know if there was a way to limit the results to only the vectors with a distance between dist1 and dist2.
I know I can do this using two searches with threshold distances of dist1 and dist2. But if the distances are large, then I end up having to consider a couple of large result sets and getting the difference. It would be great if there was a way to filter out results closer than dist1 while using a threshold distance of dist2 in a single query?