Re: Solr ranking query..

2014-02-04 Thread Varun Thacker
Hi Chris, An example for point 3 could be - &boost=recip(field(domainRank),0.1,1,1) http://wiki.apache.org/solr/FunctionQuery#recip "recip(x,m,a,b) implementing a/(m*x+b). m,a,b are constants, x is any numeric field or arbitrarily complex function." So with these values when domainRank is 1 it w

Re: Solr ranking query..

2014-02-04 Thread Chris
Dear Varun, Thank you for your replies, I managed to get point 1 & 2 done, but for the boost query, I am unable to figure it out. Could you be kind enough to point me to an example or maybe advice a bit more on that one? Thanks for your help, Chris On Tue, Feb 4, 2014 at 3:14 PM, Varun Thacker

Re: Solr ranking query..

2014-02-04 Thread Varun Thacker
Hi Chris, I think what you are looking for could be solved using the eDismax query parser. https://cwiki.apache.org/confluence/display/solr/The+Extended+DisMax+Query+Parser 1. Your Query Fields ( qf ) would be - "urlKeywords^60 title^40 fulltxt^1" 2. To check on adultFlag:N you could use &fq=ad