Re: Relevancy help

2014-05-06 Thread Ahmet Arslan
Hi, if you can create a function query, that will assign a constant score of lets say 100 , then you can sort multi criteria,  sort= score desc, recency_date desc On Tuesday, May 6, 2014 5:51 PM, Ravi Solr wrote: Thank you very much for your responses. Jack, even if I were to tweak the boos

Re: Relevancy help

2014-05-06 Thread Ravi Solr
Thank you very much for your responses. Jack, even if I were to tweak the boost factor it might not work in all cases. So I was looking at a more generic way via Function Queries to achieve my goal. Ahmet, I did see Jan Høydahl's response on all terms boosting as follows- q=a fox&defType=dismax&

Re: Relevancy help

2014-05-05 Thread Alexandre Rafalovitch
Can you sort by score, than date? Assuming similar articles will get same score (may need to discount frequency/length). There is also QueryRescore API introduced in Lucene 4.8 that might be relevant. Though I have no idea how that would get exposed in Solr. Regards, Alex. Personal website: ht

Re: Relevancy help

2014-05-05 Thread Ahmet Arslan
Hi Ravi, Regarding recency please see : http://www.slideshare.net/lucenerevolution/potter-timothy-boosting-documents-in-solr Regarding "docs containing all words" there is function query that elevates those docs to top. Search existing mailing list past posts. Ahmet On Tuesday, May 6, 2014 1

Re: Relevancy help

2014-05-05 Thread Jack Krupansky
The recip function query is the proper way to boost by reverse chronological order, but you may have to play around with the boost factor so that date does not completely overwhelm the natural relevancy. Use the debugQuery=true parameter and look at the "explain" section to see what the docume