Does the plugin support both cases? I had issue with both.
For examples with the mapping
{
"consumer": {
"properties": {
"name": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"homeAddress": {
"properties": {
"location" : {"type": "geo_point"}
}
}
}
}
}
and select query as
select name, homeLocation as "homeAddress.location" from consumer;
The raw field is not generated automatically and also the complex/nested object are not as per the mapping i.e a new field is generated with homeAddress.location as string instead of geopoint.
Any pointers?