[KinoSearch] Freshness queries
Nick Wellnhofer
wellnhofer at aevum.de
Mon Aug 10 06:18:52 PDT 2009
I'd like to boost search results depending on their age. I.e. newer
documents get promoted, older ones get demoted. AFAICS this is currently
not possible. I think I could implement it quite easily by stealing code
from MatchAllQuery and RangeQuery.
I would propose the parameters fresh_age, fresh_score, stale_age,
stale_score. The score of documents newer than fresh_age would be
multiplied by fresh_score. The score of documents older than stale_age
would be multiplied by stale_score. For documents in between I would
interpolate linearly.
What do you think?
Nick
--
aevum gmbh
rumfordstr. 4
80469 münchen
germany
tel: +49 89 3838 0653
http://aevum.de/
More information about the kinosearch
mailing list