once you index your first item elasticsearch will create a mapping. this mapping won't change later even if you index diff kind of data, so if your first indexed record was bad ... then its all bad.
http://localhost:9200/yourindex/_mapping/yourtype sould show you your current mappings ....
sometimes if you are just playing around its easiest to just delete the index and start again ... or you could play with mapping api.
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.