Also note that the type information has nothing to do with your field types (keyword, integer, etc), but it is a mapping type, i.e. the place where you define all your index fields
Finally, the _id can only take literal value, but not an object value. You could hash {"$oid":"52287a4ee4b07193f703c23f"} into some string and use that string as ID, though
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.