Hello, I am looking for using dynamic mapping (not creating any schema and not using Logstash), I would like to ingest 4 different types of files on one Index from structured data set.
Can any one point some examples.
Thanks
mka
Hello, I am looking for using dynamic mapping (not creating any schema and not using Logstash), I would like to ingest 4 different types of files on one Index from structured data set.
Can any one point some examples.
Thanks
mka
your example seems pretty easy.
Create index link
then just send 4 documents with 4 different types Link
just pay attention that if you send JSON with the same field name but different field type ( EG name: 123 and name:"some name") you wont be able to insert the document as the index shares all the fields of his types and they need to be of the same type.
If you follow these rules you should be fine
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.