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 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.

Excerpt of solrconfig.xml shows that we configured a sort by two fields which 
should not be any problem.

<requestHandler name="/browse" class="solr.SearchHandler">
             <lst name="defaults">
...
                <str name="fl">*,score</str>
                <str name="sort">score desc,id asc</str>

As a result of a Google search and the following solution on 
https://digitallibrary.atlassian.net/browse/QS-760 refering to 
https://www.semrush.com/bot/ we added a robots.txt to each site in 
root-directory. Errors in log actually could be reduced but not eliminated, the 
error still occurs.

The error had actually already occured with Solr 4.1 (previously installed), at 
that time I blamed the old version. With updating we changed server and server 
adress and the error vanished. So I resumed that Version 6.6 eliminated the 
error. Unfortunately I was wrong.

Did you read/hear of that problem? Is it reported before? What other solution 
could there be? I find it disturbing that a bot is able create those errors 
without us being able to prevent that.

Thanks for your help.

Greets
Desiree

Reply via email to