In ElasticSearch, I'm trying to create the mapping for a the following data structure:
"timelineData": {
"1249689600000": [
{
/* left out */
}
],
"1234396800000": [
{
/* left out */
},
{
/* left out */
},
]
}
I have tried the following:
timelineData: {
properties: {
type: 'nested',
properties: {
/* left out */
}
}
}
Creating the index throws the following error:
[mapper_parsing_exception] No handler for type [{type=text}] declared on field [properties]
Question: How can I create a ES mapping for the above data structure?