Re: Vector/array variable as input for KNN query with Streaming Expressions

2023-01-18 Thread Gabriel Magno
I'm planning to retrieve some vectors according to some queries, combine them by doing some vector math, then use the resulting vector as input for a KNN query. Considering the films dataset as an example, imagine that I could have a collection of users, storing the IDs of the movies that were watc

Re: Vector/array variable as input for KNN query with Streaming Expressions

2023-01-18 Thread Alessandro Benedetti
Hi, during the implementation work so far, streaming expressions were not taken into account at all. If it works, it has not been tested. Can you elaborate a little more your requirements and idea? Cheers On Wed, 18 Jan 2023, 13:51 Gabriel Magno, wrote: > Hi > > I'm trying to use streaming exp

Vector/array variable as input for KNN query with Streaming Expressions

2023-01-18 Thread Gabriel Magno
Hi I'm trying to use streaming expressions to make some queries using the Dense Vectors and KNN queries introduced in Solr 9. For instance, as per Dense Vector Search documentation, I could do a query like this: &q={!knn f=film_vector topK=10}[1.0, 2.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0] I was