# Return result same score problem, any option to re-sequence return result order?

**URL:** https://discuss.elastic.co/t/return-result-same-score-problem-any-option-to-re-sequence-return-result-order/17480
**Category:** Elasticsearch
**Created:** [May 13, 2014, 12:22pm UTC](https://discuss.elastic.co/t/return-result-same-score-problem-any-option-to-re-sequence-return-result-order/17480 "2014-05-13T12:22:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kruti\_Shukla](https://avatars.discourse-cdn.com/v4/letter/k/45deac/32.png) [@Kruti\_Shukla](https://discuss.elastic.co/u/Kruti_Shukla)
#### Post date: [May 13, 2014, 12:22pm UTC](https://discuss.elastic.co/t/return-result-same-score-problem-any-option-to-re-sequence-return-result-order/17480/1 "2014-05-13T12:22:55Z")

</div>

Hi All,  
I want to search document in following order --\>

1. men's foil shaver
2. men's foils shaver
3. men's foil advanced shaver

I tried multi-field option while mapping the field and mapped it with  
different filters and analyzers like one index with "not\_analyzed",one with  
"snow ball analyzer", one with "stemmer -- minimul english", "standard",  
whitespace" analyzer and one with ngram having min ngram 3 and max nagram  
10. None of them works for me.  
Major part of the problem is if I search for "men's foil shaver" then all  
of them have same score of I CANNOT re-sequence them.

I'm getting:

1. men's foil shaver
2. men's foil advanced shaver
3. men's foils shaver

expected result:

1. men's foil shaver
2. men's foils shaver -- zero word distance with 1 plural "foil --\> foils"
3. men's foil advanced shaver --1 word distance with no plural.

Please suggest. Any help?

I have posted kind of same question[https://groups.google.com/forum/#!topic/elasticsearch/ui9OR7JARs4](https://groups.google.com/forum/#!topic/elasticsearch/ui9OR7JARs4) before  
but I did not reach to answer. I'm still waiting on my answers for that.

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a99548fa-0f7a-4195-834a-2a1895ab9347%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a99548fa-0f7a-4195-834a-2a1895ab9347%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Kruti\_Shukla](https://avatars.discourse-cdn.com/v4/letter/k/45deac/32.png) [@Kruti\_Shukla](https://discuss.elastic.co/u/Kruti_Shukla)
#### Post date: [May 13, 2014, 12:28pm UTC](https://discuss.elastic.co/t/return-result-same-score-problem-any-option-to-re-sequence-return-result-order/17480/2 "2014-05-13T12:28:20Z")

</div>

one more question I have posted before few weeks but no suggestion  
worked: [Redirecting to Google Groups](https://groups.google.com/forum/#!searchin/elasticsearch/plural/elasticsearch/ET-S3SCD22I/zFyErGO4SRcJ)

On Tuesday, May 13, 2014 8:22:55 AM UTC-4, Kruti Shukla wrote:

> Hi All,  
> I want to search document in following order --\>
> 
> 1. men's foil shaver
> 2. men's foils shaver
> 3. men's foil advanced shaver
> 
> I tried multi-field option while mapping the field and mapped it with  
> different filters and analyzers like one index with "not\_analyzed",one with  
> "snow ball analyzer", one with "stemmer -- minimul english", "standard",  
> whitespace" analyzer and one with ngram having min ngram 3 and max nagram  
> 10. None of them works for me.  
> Major part of the problem is if I search for "men's foil shaver" then all  
> of them have same score of I CANNOT re-sequence them.
> 
> I'm getting:
> 
> 1. men's foil shaver
> 2. men's foil advanced shaver
> 3. men's foils shaver
> 
> expected result:
> 
> 1. men's foil shaver
> 2. men's foils shaver -- zero word distance with 1 plural "foil --\> foils"
> 3. men's foil advanced shaver --1 word distance with no plural.
> 
> Please suggest. Any help?
> 
> I have posted kind of same question[https://groups.google.com/forum/#!topic/elasticsearch/ui9OR7JARs4](https://groups.google.com/forum/#!topic/elasticsearch/ui9OR7JARs4) before  
> but I did not reach to answer. I'm still waiting on my answers for that.

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/41b396db-f9a2-4105-a02e-46d09a8640dd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/41b396db-f9a2-4105-a02e-46d09a8640dd%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 1:29am UTC](https://discuss.elastic.co/t/return-result-same-score-problem-any-option-to-re-sequence-return-result-order/17480/3 "2017-07-06T01:29:48Z")

</div>


