Hi,

I wanted to know where can I run Streaming Expression in Solr.



Also how can I achieve getting cosine similarity as response. Is there any 
included feature in the latest version ?

Reference link - https://issues.apache.org/jira/browse/SOLR-12890

For example -
sort(
select(
search(food_collection,
q=":",
fl="id,vector_fs",
sort="id asc",
rows=3),
cosineSimilarity(vector_fs, array(5.1,0.0,1.0,5.0,0.0,4.0,5.0,1.0)) as sim,
id),
by="sim desc")

Regards,
Suyash

If you are not the addressee, please inform us immediately that you have 
received this e-mail by mistake, and delete it. We thank you for your support.

Reply via email to