We test the order of results, not the exact score.

Score values depend on the number of documents in the index. Also, the order is 
the only thing we care about.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)


On Jul 7, 2015, at 12:40 AM, joseph paulo mantuano <paulo.mantu...@gmail.com> 
wrote:

> Hi All,
> 
> I started using solr a while back. Now I'm writing jUnit test for the solr
> application but I encounter inconsistency in my results causing my jUnit
> tests to fail.
> 
> There are times that the order of the documents returned will be different
> because of the score. Do you have any pointers to solve this?
> 
> 
> I've read this two issues; which I see to be similar so mine.
> 
> https://issues.apache.org/jira/browse/SOLR-5821
> 
> https://issues.apache.org/jira/browse/SOLR-4260
> 
> 
> Regards,
> jpmantuano

Reply via email to