Hi Otis, Any documents marked deleted in this index are just the result of updates to those documents. There are no purely deleted documents. Furthermore, the field that I am ordering by in my function query remains untouched over the updates.
I've read in other posts that the logic used by the debug component to calculate the score is different from what the query component uses. The score shown in the debug output is correct. It seems like the two components are getting two different values for the rord function. I'm particularly concerned by the fact that this only happens in the nightly build. Any ideas on how to correct this? Unfortunately, it's not feasible for me to only perform searches on optimized indices because we are doing constant updates. Thanks, Asif Otis Gospodnetic wrote: > > > Asif, > > Could it have something to do with the deleted documents in your > unoptimized index? There documents are only marked as deleted. When you > run optimize you really remove them completely. It could be that they are > getting counted by something and that messes up the scoring/order. > > -- View this message in context: http://www.nabble.com/Incorrect-sort-with-with-function-query-in-query-parameters-tp22735009p22741058.html Sent from the Solr - User mailing list archive at Nabble.com.