: similar. In my case, if I want to rank the most recent documents first
: (because it's about news), I have to use very large boost, which will
: end up getting the docs that are not so relevant to the top. I haven't
it sounds like you only attempted tweaking the boost value, and not
tweaking t
gt; To: solr-user@lucene.apache.org
> Sent: Tuesday, May 20, 2008 3:59:06 PM
> Subject: Re: the time factor
>
> Hi Otis,
>
> I tried this. It doesn't seem to solve my problem, though. I think
> it's best used to make small adjustment when relevance scores are
> sim
Hi Otis,
I tried this. It doesn't seem to solve my problem, though. I think
it's best used to make small adjustment when relevance scores are
similar. In my case, if I want to rank the most recent documents first
(because it's about news), I have to use very large boost, which will
end up getting
Jack,
The answer is: function queries! :)
You can easily use function queries with DisMaxRequestHandler. For example,
this is what you can add to the dismax config section in solrconfig.xml:
recip(rord(addDate),1,1000,1000)^2.5
Assuming you have an addDate field, this will