luceneuser skrev:
Hi All,
I need help on retrieving results based on relevance + freshness. As of
now, i get based on either of the fields, either on relevance or freshness.
how can i achieve this. Lucene retrieves results on relevance but also
fetches old results too. i need more relevant results with freshness too.
You want a bit less score the older the document is?
Search the archives for CustomScoreQuery and System.currentTimeMillis.
Here is something I found in the Google cache:
<http://64.233.183.104/search?q=cache:SG1CFDkgucMJ:blog.mindbridge.com/%3Fp%3D55+CustomScoreQuery+System.currentTimeMillis>
karl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]