Take a look at FunctionQuery support in Solr:

http://wiki.apache.org/solr/FunctionQuery
http://wiki.apache.org/solr/SolrRelevancyFAQ#head-b1b1cdedcb9cd9bfd9c994709b4d7e540359b1fd
On Thu, Dec 11, 2008 at 7:01 PM, Pooja Verlani <[EMAIL PROTECTED]>wrote:

> Hi all,
>
> I have a specific requirement for query time boosting.
> I have to boost a field on the basis of the value returned from one of the
> fields of the document.
>
> Basically, I have the creationDate for a document and in order to introduce
> recency factor in the search, i need to give a boost to the creation field,
> where the boost value is something like a log(1/x) function and x is the
> (presentDate - creationDate).
> Till now what I have seen is we can give only a static boost to the
> documents.
>
> In case you can provide a solution to my problem.. please do reply :)
>
> Thanks a lot,
> Regards.
> Pooja
>



-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to