Hi all,

As far as I understand, SolrCloud currently does not allow the use of
sorting by the pseudofield, score in the /export request handler (i.e., get
the results in relevancy order). If we do attempt this, we get an
exception, "org.apache.solr.search.SyntaxError: Scoring is not currently
supported with xsort". We could use Solr's cursorMark, but this takes a
very long time ...

Exporting results does work, however, when exporting result sets by a
specific document field that has docValues set to true.

Question:
Does anyone know if/when it will be possible to sort by score in the
/export handler?

Research on the problem:
We've seen https://issues.apache.org/jira/browse/SOLR-5244 and
https://issues.apache.org/jira/browse/SOLR-8664, which are related to this
issue, but don't fix it. Maybe I've missed a more relevant issue?

Our use-case We are using Solrcloud in our team and it's added a huge
amount of value to our users.

We show a table of search results ordered by score (relevancy) that was
obtained from sending a query to the standard /select handler. We're
working in the life-sciences domain and it is common for our result sets to
contain many millions of results (unfortunately). After users browse their
results, they then may want to download the results that they see, to do
some post-processing. However, to do this, such that the results appear in
the order that the user originally saw them, we'd need to be able to export
results based on score/relevancy.

Any suggestions or advice on this would be greatly appreciated!

Many thanks!

Edd

PS. apologies for posting also on Stackoverflow (
https://stackoverflow.com/questions/58167152/solrcloud-export-all-results-sorted-by-score)
--
I only discovered the Solr mailing-list afterwards and thought it probably
better to reach out directly to Solr's people (I can share any answer from
this forum on there retrospectively).

Reply via email to