0

I have created an Index by specifying an token filter as lower case and analyzer used in Standard. The version of Elastic Search used is 7.

"filter": [
      "lowercase",
      "autocomplete_filter"
    ]

but when I search for a text let's say Summer, it does not give any result but when I type summer, it fetches the document.

According to what I know the Document will be stored in the way which we have provided. The standard will only make Elastic search to lower case the tokens.

But why only lowercase words are getting searched but not upper or combination of upper and lower.

Below is the mapping and query.

{"mappings":{"properties":,"title":{"type":"text"}


"bool" : {
"must" : [
  {
    "terms" : {
      "title" : [
        "SUMMer"
      ],
      "boost" : 1.0
    }
  }
],
"adjust_pure_negative" : true,
"boost" : 1.0}

The value of title in Document is related to summer.

The searched item is SUMMer.

Aditya
  • 950
  • 8
  • 37

0 Answers0