I have to change type (reindex) a field "source.ip" from the text mapping type to the IP type.
Because some of the "source.ip" values have non IP format (like "bob_IP").
I've added to the script else { ctx.op = 'noop' } and checked the dest index. All is OK. The new field source.ip_name is created and the incorrect field source.ip is removed. But I can't understand how i lost the rest documents during reindexing.
The error was in the mapping conflict in another field. I saw it in the bash script only.
For thouse who will stuck on the similar problem the full bash script is:
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.