I am quite new to elasticsearch, excuse me if this has been answered before. Could not find the answer in the docs.
I am logging some user-generated data to elasticsearch (browser fingerprint object generated by fingerprint2.js). I have disabled dynamic mapping for the index and only enabled mappings for standardized fields.
The problem is that different browsers may generate slightly different fingerprint structure, which makes elasticsearch throw something like:
mapper_parsing_exception: failed to parse field of type [long] in document with id '...'
Which probably means a type conflict.
Since I have disabled dynamic mapping, I was expecting that elasticsearch would not map and/or index those fields and would not complain about type conflicts.
Is there any way to get elasticsearch accept this data (besides storing entire object in some serialized format)?