Store dynamic JSON and make it searchable

Hi All

I have a JSON structure but the fields could be changing. I went through this article to convert JSON into a string and make it searchable. Is there a way to set the mapping as JSON and still searchable without causing mapping explosion

https://discuss.elastic.co/t/unmapped-searchable-json-field/6402/8

For example, incoming data for the first time could be

    {
    "log":{
             "team":"demo",
             "manager":"test"
    }

Next time the data could come as

  {
    "log":{
             "team":"demo",
             "manager":"test",
             "data":"check"
    }
}

No, that's the tradeoff you need to make with Elasticsearch at the moment.

1 Like

Thanks for your quick reply

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