Hi, Do you see any errors? Which version of Solr? What does debugQuery=true say? Are you sure your file with ranks is being used? (remove it, put some junk in it, see if that gives an error)
Otis -- Performance Monitoring - http://sematext.com/spm/index.html Search Analytics - http://sematext.com/search-analytics/index.html On Mon, Nov 19, 2012 at 10:16 PM, Floyd Wu <floyd...@gmail.com> wrote: > Thanks Otis, > > But the sort=product(score, rankingField) is not working in my test. What > probably wrong? > > Floyd > > > 2012/11/20 Otis Gospodnetic <otis.gospodne...@gmail.com> > > > Hi, > > > > 3. yes, you can sort by function - > > http://search-lucene.com/?q=solr+sort+by+function > > 2. this will sort by score only when there is a tie in ranking (two docs > > have the same rank value) > > 1. the reverse of 2. > > > > Otis > > -- > > Performance Monitoring - http://sematext.com/spm/index.html > > Search Analytics - http://sematext.com/search-analytics/index.html > > > > > > > > > > On Mon, Nov 19, 2012 at 9:40 PM, Floyd Wu <floyd...@gmail.com> wrote: > > > > > Hi there, > > > > > > I have a field(which is externalFileField, called rankingField) and > that > > > value(type=float) is calculated by client app. > > > > > > For the solr original scoring model, affect boost value will result > > > different ranking. So I think product(score,rankingField) may > equivalent > > to > > > solr scoring model. > > > > > > What I curious is which will be better in practice and the different > > > meanings on these three solutions? > > > > > > 1. sort=score+desc,ranking+desc > > > 2. sort=ranking+desc,score+desc > > > 3. sort=product(score,ranking) -->is this possible? > > > > > > I'd like to hear your thoughts. > > > > > > Many thanks > > > > > > Floyd > > > > > >