You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2022/02/16 11:18:00 UTC
[jira] [Resolved] (SOLR-16014) Where can I run Streaming Expression in Solr. Also how can I get Cosine Similarity score in response
[ https://issues.apache.org/jira/browse/SOLR-16014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Høydahl resolved SOLR-16014.
--------------------------------
Resolution: Invalid
Please raise questions on the users mailing list (https://solr.apache.org/community.html#mailing-lists-chat)
This project uses Jira to report bugs and new features in the product, not as a support portal. Closing this issue.
> Where can I run Streaming Expression in Solr. Also how can I get Cosine Similarity score in response
> ----------------------------------------------------------------------------------------------------
>
> Key: SOLR-16014
> URL: https://issues.apache.org/jira/browse/SOLR-16014
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: streaming expressions
> Affects Versions: 8.11, 8.11.1
> Reporter: Suyash Sangale
> Priority: Blocker
> Labels: CosineSimilarity, Streamingexpression
>
> Where can I run Streaming Expression in Solr.
> 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")
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org