Analyze case sensitive/insensitive

Hello,

I'm new to the forum, I have to ask for help to solve a problem, I have an "analyzer" created in the following way that will leave you lines below, however, I need it to work as follows:

1.- Perform the search of certain words in a text string ignoring the insensitive case and accents in the subdocument "Content.content" (currently works).

2.- The same field "contens.content" can search for text with a sensitive case, respecting the values ​​of the text (I can not return anything).

​{
​  "template": "pdfscrapy*",
  "settings": {
    "analysis": {
      "analyzer": {
        "folding": {
          "tokenizer": "standard",
          "filter": [
            "lowercase",
            "asciifolding"
          ]
        }
      }
    }
  },
  "mappings": {
    "intranet": {
      "properties": {
        "content": {
          "type": "string",
          "analyzer": "standard"
        },
        "contents": {
          "type": "nested",
          "properties": {
            "content": {
              "type": "string",
              "analyzer": "folding"
            }
          }
        }
      }
    }
  }
}​

Thanks for the support

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

So? What is the problem?

Could you provide a full recreation script as described in

It will help to better understand what you are doing.
Please, try to keep the example as simple as possible.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.