I saw here https://github.com/elastic/elasticsearch/pull/32213 that Elasticsearch added support for ingest of hex strings as type long or integer for version 7.0.0 and moving forward.
But when I use my Elasticsearch 7.3 and set the type to "integer" or "long" and then try to index a value of "0x1234" I get an error[1].
[1] this is from python:
RequestError: RequestError(400, u'mapper_parsing_exception', u'failed to parse field [KEYWORD] of type [long] in document with id '#############'. Preview of field's value: 0x1234'")
Elasticsearch: how do you ingest a hex string as a number type (integer or long)?
Maybe there is some sort of config value to turn this feature on... but I couldn't find any in the documentation.