Re: Num Found of docs containing vector fields

2023-10-24 Thread rajani m
Hi Alessandro, The range query type does not work, it returns 400 with the response as "Range Queries are not supported for Dense Vector fields. Please use the {!knn} query parser to run K nearest neighbors search queries." On Mon, Oct 23, 2023 at 2:36 AM Alessandro Benedetti wrote: > Hi, > U

Re: Num Found of docs containing vector fields

2023-10-22 Thread Alessandro Benedetti
Hi, Using the knn query parser is not going to cut it as it's driven by the topK parameter (and you do all distance similarity and stuff). Normally in Solr you just do: field:[* TO *] to retrieve docs that have at least one value in a field. I can't try right now, can you check if that's implement

Re: Num Found of docs containing vector fields

2023-10-22 Thread ufuk yılmaz
Hi, I don’t know much about vectors but in order to avoid “414 Request-URI Too Large” error you can send a post request with type application/x-www-form-urlencoded and put q and value in the request body ~ufuk yilmaz — > On 23 Oct 2023, at 02:35, rajani m wrote: > > 414 Request-URI Too Large

Num Found of docs containing vector fields

2023-10-22 Thread rajani m
Hi Solr Users, How do you query Solr to get a count of the number of docs consisting of vector fields? Would you make use of knn qp and populate a query vector of the same length with 1's? For example, localhost:8983/solr/v9/select?q={!knn f=vector_field topK=10}[512 dim vector]. Also, this ht