Sorting a large set is costly, the more fields you sort on, the more memory is 
consumed (and likely cached).

If i remember correctly the result set will be ordered according to Lucene 
DocID's if there's nothing to sort on.

If i read correctly, you don't want to specify those fixed sort parameter for 
every query right? You can simply add the parameter as default (or constant (= 
invariant)) in your request handler configuration in solrconfig.

> Au contraire, I have almost 4 million documents, representing businesses in
> the US. And having the score be the same is a very common occurrence.
> 
> It is quite clear from testing that if score is the same, then it sorts on
> indexed_at ascending. It seems silly to make me add a sort on every query,
> there should be some configuration to modify this. However, if I make all
> my queries include &sort=score+desc,indexed_at+desc will that have a
> detrimental performance effect?
> 
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Result-order-when-score-is-the-same-tp2
> 816127p2817458.html Sent from the Solr - User mailing list archive at
> Nabble.com.

Reply via email to