Elasticsearch 6 make text sortable and incasesensitive lowercase

0
98
views
  • We must create a normalizer in update settings.
  • To make elasticsearch read as lowercase, we can use normalizer with update mapping and set normalizer to specify field.
  1. Close index
  2. Update settings, and create new normalizer “keyword_normalizer”
  3. Open index
  4. Update mapping to mapping the column to new column, ie. “name” to “name.raw”

LEAVE A REPLY

Please enter your name here
Please enter your comment!