On Mon, Mar 30, 2009 at 10:54 PM, Grant Ingersoll <gsing...@apache.org>wrote:

>
> I don't there there is an existing way to round them. But it will be a
>> useful contribution if you can write a function query for rounding.
>>
>> Look at http://wiki.apache.org/solr/FunctionQuery
>>
>
> What did you have in mind, Shalin?    It seems to me you would have to hook
> into the HitCollector and/or implement your own sorting capability, as the
> Func Query is just going to allow you to take price in as a scoring factor,
> no?
>

Yonik added a way to use the score of a query in function queries with
SOLR-939. Look at the "query" function on the wiki. Some very cool things
are possible now :)

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to