1)Scenario 1:I had customized mapping for an index when i add a document which has extra fields or less fields than the custom mappings then the document will be indexed or Elasticsearch rejects it.
2)Scenario 2:I have defined template for an index , If the documents that are send to index doesn't satisfy the mappings that are defined in template(i.e.if it has extra fields or empty fields) whether Elasticsearch indexes it or rejects it.
Thanks for your response..
But what i want is , I want to index the documents that satisfy only my customized or template mappings others i dont want to index it.
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.