So, I've been reading a lot about how the mapping types are "in extinction" and will be gone in 8.x, but I don't understand is how do we deal with searching related to IP types when it's gone.
Maybe there's something about this somewhere I haven't found yet?
Indices created in Elasticsearch 7.0.0 or later no longer accept a default mapping. Indices created in 6.x will continue to function as before in Elasticsearch 6.x. Types are deprecated in APIs in 7.0, with breaking changes to the index creation, put mapping, get mapping, put template, get template and get field mappings APIs.
I can't seem to make a template that gets accepted when using type IP
In earlier Elasticsearch versions documents could be of different types within an index. This started being deprecated in Elasticsearch 6.0. Index mappings used to specify the document type, and it is this that is now being removed.
You can see this if you compare the docs for version 6.8 with the docs for version 7.6. Note how the level after mapping no longer specifies the document type (in this case _doc).
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.