Hi,
If I understand well, the formula used for the term frequency part in the 
default similarity module is the square root of the actual frequency. Is it 
possible to modify that formula to include something like a 
min(my_max_value,sqrt(frequency))? I would like to avoid huge tf's for 
documents that have the same term repeated many times. It seems that BM25 
similarity has a parameter to control saturation but I would prefer to 
stick with the simple tf/idf similarity module.
Thank you for your help
Patrick

-- 
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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/9a12b611-d08d-41f9-8fd4-b74ad75a6a5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to