How can I change _score based on string lenght?

Dear Members,

When I get result of my multi match request based on two words I get this:

Iphone 6C OR
Iphone 6C ARGENT

I would like that this result has the same score then order it by cheapest
price first (float value), is it possible ?

Currently if "Iphone 6C OR" = 700 and "iphone 6C ARGENT" = 600, "Iphone 6C
OR" is first. It's not what I want.

Thanks in advance for your help.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/24b90c36-e4dc-4c3a-b7a3-5f6285adb047%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Any idea ?

Le lundi 9 mars 2015 22:33:50 UTC+1, Arnaud Coutant a écrit :

Dear Members,

When I get result of my multi match request based on two words I get this:

Iphone 6C OR
Iphone 6C ARGENT

I would like that this result has the same score then order it by cheapest
price first (float value), is it possible ?

Currently if "Iphone 6C OR" = 700 and "iphone 6C ARGENT" = 600, "Iphone 6C
OR" is first. It's not what I want.

Thanks in advance for your help.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/224f67d6-3e36-4d3b-8a16-f13e5ac0cbb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.