0

We are creating time based indices in Elasticsearch. We need to ensure that all string fields are "not analyzed". What are the best practices to achieve this? **Sample indices are: bounce-email_2017-01-25, bounce-email_2017-01-26, bounce-email_2017-01-27**

alexwlchan
  • 5,699
  • 7
  • 38
  • 49
Onkaar Singh
  • 10,187
  • 3
  • 14
  • 26

1 Answers1

0

GET bounce-email_2017-01-25/_mapping

Now over on all fields and verify that they are not analyzed

Lax
  • 1,109
  • 1
  • 8
  • 13
  • Now if I push data for "bounce-email_2017-01-26" index, then will the data be analyzed or not analyzed? – Onkaar Singh Jan 30 '17 at 06:23
  • Its depend on youre mapping, look at https://www.elastic.co/guide/en/elasticsearch/guide/current/mapping-intro.html – Lax Jan 31 '17 at 19:01