I have Members._created by will be dict or string. How can i store the data?
Error : "type":"illegal_argument_exception","reason":"Can't merge a non object mapping [Members._created_by] with an object mapping [Members._created_by]"
Each field, e.g. _created_by, must have a single mapping within an index. You can therefore not have a field that can be either a string or an object. The only way you might be able to actually store it I believe is if you make it non-searchable. If you want to be able to search on this field you will therefore need to change the structure of your document.
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.