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 >