Hello Otis, Got it. I'll take a look. Thanks for spending so much time helping others out!
Jack Tuesday, May 13, 2008, 9:06:18 PM, you wrote: > 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: > <str name="bf"> > recip(rord(addDate),1,1000,1000)^2.5 > </str> > Assuming you have an addDate field, this will give fresher > document some boost. Look for this on the Wiki, it's all there. > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > ----- Original Message ---- >> From: JLIST <[EMAIL PROTECTED]> >> To: solr-user@lucene.apache.org >> Sent: Tuesday, May 13, 2008 5:42:38 AM >> Subject: the time factor >> >> Hi, >> >> I'm indexing news articles from a few news feeds. >> With news, there's the factor of relevance and also the >> factor of freshness. Relevance-only results are not satisfactory. >> Sorting on feed update time is not satisfactory, either, >> because one source may update more frequently than the >> others and it tends to occupy the first rows most of >> the time. I wonder what is the best way of combining the >> time factor in news search? >> >> Thanks, >> Jack