Open lfdominguez opened 4 years ago
You can also do it though Elasticsearch directly, I use dynamic mappings personally...
You can also do it though Elasticsearch directly, I use dynamic mappings personally...
Yes of course, i can use curl directly to put data on ElasticSearch too. The main question is why use "nested" for object types and not "object"
The default mapping type for serde_json::Value is "nested" and that not allow make normal queries on ElasticSearch for dynamics data. How i can change the type to "object". Already i changed the code on file "src/elastic/src/types/document/mapping.rs" on trait
ObjectMapping
fromNESTED_DATATYPE
toOBJECT_DATATYPE
and now my elastic queries are responding with results.