Choosing between datatypes

Hello!

I have recently started using elasticsearch, and my data is a json file containing three other json-files. Heres my question: How should I choose a correct doc_type? The documentation states that "nested" types will allow elastic to index my nested json-file more correctly. However doing this results in an error, saying that the type is already "json".

But isn't all files inserted jsons, and you simply change the type of it? Or have I misunderstood it? Thanks in advance!

Regards
A simple student

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