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
what the document scores look like. -- Jack Krupansky -Original Message- From: Ravi Solr Sent: Monday, May 5, 2014 5:41 PM To: solr-user@lucene.apache.org Subject: Relevancy help Hello, I have a weird relevancy requirement. We search news content hence chronology is very importan

Relevancy help

2014-05-05 Thread Ravi Solr
Hello, I have a weird relevancy requirement. We search news content hence chronology is very important and also relevancy, although both are mutually exclusive. For example, if the search terms are - malaysia airline crash blackbox - my requirements are as follows docs containing all word