Dynamic mapping

ES version 6.8.12
i want to make my index filed store anything regardless of its type
im facing issue while storing string value in long type field
can anyone help me

What is the issue exactly?

Elasticsearch is not a schemaless datastore but rather creates the schema on write as data is discovered. Every field must have a single mapping, which means it typically can not handle completely dynamic data. While all fields can be stored as mapped as strings (which limit what you can do with them) A field can not be an object (have sub fields) and in another place hold a value.

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