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


(Kruti_Shukla) #1

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


(Kruti_Shukla) #2

one more question I have posted before few weeks but no suggestion
worked: 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 questionhttps://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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/41b396db-f9a2-4105-a02e-46d09a8640dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3