Maybe you can enable explanations to see how scores are computed and what the difference is between these records? http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-explain.html
On Wed, Oct 1, 2014 at 12:24 PM, Lee Gee <[email protected]> wrote: > I have an ElasticSearch string field configured for autocomplete like this: > > autocomplete_analyzer: > type: custom > tokenizer: whitespace > filter: [ lowercase, asciifolding, ending_synonym, > name_synonyms, autocomplete_filter ] > > autocomplete_filter: > type: edge_ngram > min_gram: 1 > max_gram: 20 > token_chars: [ letter, digit, whitespace, punctuation, symbol ] > > search_analyzer: > type: custom > tokenizer: whitespace > filter: [ lowercase, asciifolding, standard, name_synonyms, > ending_synonym ] > > > > I have a record where the field contains 'S XYZ', and lots of other > records where the field contains other words beginning S. > > I do not understand why, when I search for 'S XYZ', it is not the first > result. > > Could someone please explain ? > > Many thanks in anticipation > lee > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/218280b1-2c9c-42db-854d-62d1c8de8862%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/218280b1-2c9c-42db-854d-62d1c8de8862%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Adrien Grand -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j6C5nvV-rzqWGQ%3DWxHYSyzX34t6qQXshomfh26p4nK_aA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
