While looking at issue #81, I attempted to add the mappings as explained, however elastic was returning errors whenever the hostname doctype was included. The only way to add the hosts was to drop the doctype. We are running ElasticSearch 7.4.2. Unfortunately this doesn't help because the query still includes the doctype and I don't see that controlled anywhere I can find, so I suspect its in the jar.
While looking at issue #81, I attempted to add the mappings as explained, however elastic was returning errors whenever the hostname doctype was included. The only way to add the hosts was to drop the doctype. We are running ElasticSearch 7.4.2. Unfortunately this doesn't help because the query still includes the doctype and I don't see that controlled anywhere I can find, so I suspect its in the jar.
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-mapping.html#put-mapping-api-request
https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html