Using the function_score you could use a script. Since 0.90.10 you can 
access term statistics from a script 
(https://github.com/elasticsearch/elasticsearch/issues/3772), term 
frequency included. You could for instance emit your own score that takes 
into account only the term frequency but not the idf.

On Thursday, January 16, 2014 9:18:57 AM UTC+1, Jörg Prante wrote:
>
> I don't know how to do this by function score, but have you looked at it?
>
> Jörg
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/1db8d628-dddd-4150-a2bd-64fcd7839cd0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to