There currently is not a way to inline a streaming expression into a
traditional Solr search. Part of the reason why is that they have different
performance and design goals. A standard search is designed to scale to a
high qps with sub-second performance. The design of Solr's
traditional search s
Thank you for links to the docs, they were super helpful and the expression
syntax also works perfectly. Appreciate it.
Just another question inline to the streaming api. Is it possible to invoke
the stream expression via solr local param standard query syntax such as
{!stream expr=select()}. Any s
The select function is documented here:
https://solr.apache.org/guide/solr/latest/query-guide/transform.html
Joel Bernstein
http://joelsolr.blogspot.com/
On Wed, May 31, 2023 at 1:51 PM Joel Bernstein wrote:
> The array function doesn't operate in the way its being used here. Here
> are the d
The array function doesn't operate in the way its being used here. Here are
the docs on arrays:
https://solr.apache.org/guide/solr/latest/query-guide/vector-math.html#arrays
Using a multi-valued field you could do something like this where test_fs
is a multi-valued float field. The select functio
Hi,
we are working on contributing the possibility of having vector-similarity
features, in Apache Solr Learning To Rank.
We are starting from the Lucene contribution of related function queries,
which we are close to merging.
Then we'll do the Solr part.
What you are trying to do has not been tes
Validating the expression to begin with, it doesn't work. Vector math
supports reading from an array of values so I tried the following
expression.
dotProduct(array(search(v9,
q="id:1",
fl="numeric_field_dfd",