I have a potential use case for solr searching via streaming expressions.
I am currently using solr 6.2.0, but we will soon be upgrading to the 7.1.0
version.
I started testing out searching using streaming expressions.
1. If I use an alias instead of a collection name it fails. I see that
there is a Jira, SOLR-7377. Is this fixed in 7.1.0?

2. If I try to sort the results by score, it gives me an undefined field
error. So it seems that streaming searches must not return values ordered
by relevancy?
This is a stopper for us if it has not been addressed.

This is my query:
search(test-catalog-product-170724,defType="edismax",q="7732-18-5",qf="searchmv_cas_number",mm="2<-12%",fl="id_record_spec,
id_s, score",sort="score desc",qt="/export")

This is the error:
"EXCEPTION": "java.util.concurrent.ExecutionException: java.io.IOException:
-->
http://141.247.245.207:8983/solr/test-catalog-product-170724_shard2_replica1/:org.apache.solr.common.SolrException:
undefined field: \"score\"",

I could not find a Jira for this issue. Is it not possible to retrieve the
results ordered relevancy (score desc)?

Seems kind of limiting

-- 


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
you must not copy this message or attachment or disclose the contents to 
any other person. If you have received this transmission in error, please 
notify the sender immediately and delete the message and any attachment 
from your system. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not accept liability for any omissions or errors in this 
message which may arise as a result of E-Mail-transmission or for damages 
resulting from any unauthorized changes of the content of this message and 
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not guarantee that this message is free of viruses and does 
not accept liability for any damages caused by any virus transmitted 
therewith.

Click http://www.emdgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.

Reply via email to