Re: Fwd: Favouring recent matches

2008-03-10 Thread Mathieu Lecarme
1) document boost is periodicaly recomputed with age as a factor (or log(age)). It should be slow. 2) Use your own Similarity implementation. Use the DefaultSimilarity with a dynamic document boost. The Map document id -> age or document id -> date should be cached with Map, ehCache, whirlcache,

Fwd: Favouring recent matches

2008-03-08 Thread James Brady
Sorry, I really should have directly explained what I was looking to do: theserverside.com give higher scores to documents that were added more recently. I'd like to do the same, without the date boost being too overbearing (or unnoticeable...) - some ideas on how to approach this would be