I would like to score based entirely on term count.

For example, given the following two documents:

1) { "apple" }

2) { "apple apple" }

Searching "apple" ranks the first before the second.  I wish to rank the 
second, in which the term occurs twice, with a higher score.

Can someone please point me in the right direction for this?

Thank you.

-- 
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/1bb386ae-3ab5-4878-9d29-6462eaff14c7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to