quepid icon indicating copy to clipboard operation
quepid copied to clipboard

Quepid Support Solr JSON Query API

Open aruggero opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. I would like to be able to use Quepid to rate documents coming from a KNN Solr query. A KNN query requires a vector to be passed. Currently, Quepid queries are GET requests, and when passing vectors the error "URI Too Long" arose. This is a query example I inserted into the query sandbox of the relevancy case:

q={!knn f=vector_field topK=100}[-0.00022448005620390177, 0.0033642472699284554, 0.002837559673935175, -0.0024374686181545258, ..., -0.0021515318658202887, -0.0009421202121302485]

Describe the solution you'd like Solr allows to execute KNN queries making POST requests and passing vectors in the request body. This can be done with the JSON query API of Solr. It would be nice to have the possibility to use Solr JSON query APIs and make POST requests to support KNN search.

aruggero avatar Jul 07 '23 08:07 aruggero