lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: queryResultCache has no hits for date boost function
Date Wed, 18 Aug 2010 19:17:54 GMT
On Tue, Aug 17, 2010 at 6:29 PM, Peter Karich <peathal@yahoo.de> wrote:
> my queryResultCache has no hits. But if I am removing one line from the
> bf section in my dismax handler all is fine. Here is the line:
> recip(ms(NOW,date),3.16e-11,1,1)

NOW has millisecond resolution, so it's actually a different query
each millisecond.
You could either use a date literal instead of NOW, or use date math
to round the date and get a better cache hit ratio... like NOW/hour or
something.

-Yonik
http://www.lucidimagination.com

Mime
View raw message