Re: SolrException: Can't determine a Sort Order with Solr 6.6

2020-12-14 Thread fereira
I've run into the same issue with a Rails application that uses the Rsolr gem to make calls to Solr. I will have to check if the issue is in Rsolr or in my application, changing the %2B (+ sign) to a %20 (space char) in the request URL fixes the issue. I also just wanted to say hello to wunder.

AW: WG: SolrException: Can't determine a Sort Order with Solr 6.6

2019-06-03 Thread Schwank , Désirée
Shawn Heisey Gesendet: Montag, 3. Juni 2019 15:01 An: solr-user@lucene.apache.org Betreff: Re: WG: SolrException: Can't determine a Sort Order with Solr 6.6 On 6/3/2019 5:12 AM, Schwank, Désirée wrote: > But how can it be protected. What can I do? What is to configure? Can you > help me

Re: WG: SolrException: Can't determine a Sort Order with Solr 6.6

2019-06-03 Thread Shawn Heisey
On 6/3/2019 5:12 AM, Schwank, Désirée wrote: But how can it be protected. What can I do? What is to configure? Can you help me with an example. Place the Solr server in a network location such that only trusted systems and people can reach it. Sanitize all input in your application before y

WG: SolrException: Can't determine a Sort Order with Solr 6.6

2019-06-03 Thread Schwank , Désirée
: SolrException: Can't determine a Sort Order with Solr 6.6 The bigger problem is that a bot can send values directly to Solr. That is not safe. Everything sent to the front end or an API needs to be parsed, checked, then recreated to send to Solr. A bot should never be getting a sort para

Re: SolrException: Can't determine a Sort Order with Solr 6.6

2019-05-28 Thread Walter Underwood
The bigger problem is that a bot can send values directly to Solr. That is not safe. Everything sent to the front end or an API needs to be parsed, checked, then recreated to send to Solr. A bot should never be getting a sort parameter through to Solr. wunder Walter Underwood wun...@wunderwood.

Re: SolrException: Can't determine a Sort Order with Solr 6.6

2019-05-28 Thread Shawn Heisey
On 5/28/2019 7:48 AM, Schwank, Désirée wrote: At the end of April we realized lots of errors, "SolrException: Can't determine a Sort Order (asc or desc) in sort spec 'score+desc,id+asc'" first appearance in logs about 2019-04-29, without apparent reason. The problem here is that you are send

SolrException: Can't determine a Sort Order with Solr 6.6

2019-05-28 Thread Schwank , Désirée
Hello, we are running Solr 6.6 for indexing and searching since April 2019. There weren't any messages, neither errors nor warnings. Cause it did what and how it was supposed to do. Therefore a change of solrconfig.xml or other configuration did not happen. At the end of April we realized lots