Skip to content

Instantly share code, notes, and snippets.

@renshuki
Last active October 15, 2019 05:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save renshuki/d7a6bf51b1dfc8a55edeed77001842d7 to your computer and use it in GitHub Desktop.
Save renshuki/d7a6bf51b1dfc8a55edeed77001842d7 to your computer and use it in GitHub Desktop.
Elasticsearch - Configuration example of lowercase tokenizer for an index
PUT my_lowercase_tokenizer/
{
  "settings": {
    "analysis": {
      "analyzer": {
        "my_custom_analyzer": {
          "tokenizer": "lowercase"
        }
      }
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment