Thanks, will look into those.
Andu
On Mon, Oct 18, 2010 at 4:14 PM, Ahmet Arslan wrote:
>> I know but I can't figure out what
>> functions to use. :)
>
> Oh, I see. Why not just use {!boost b=log(vote)}?
>
> May be scale(vote,0.5,10)?
>
>
>
>
> I know but I can't figure out what
> functions to use. :)
Oh, I see. Why not just use {!boost b=log(vote)}?
May be scale(vote,0.5,10)?
I know but I can't figure out what functions to use. :)
On Mon, Oct 18, 2010 at 1:38 PM, Ahmet Arslan wrote:
>> I have a field in my schema which holds the number of votes
>> a document
>> has. How can I boost documents based on that number?
>
> you can do it with http://wiki.apache.org/solr/Func
> I have a field in my schema which holds the number of votes
> a document
> has. How can I boost documents based on that number?
you can do it with http://wiki.apache.org/solr/FunctionQuery
Hello all,
I have a field in my schema which holds the number of votes a document
has. How can I boost documents based on that number?
Something like the one which has the maximum number has a boost of 10,
the one with the smallest number has 0.5 and in between the values get
calculated automatic