You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like Elastic Search is overriding my default mapping values when it adds defaults dynamically.
I'm seeing ints being stored as longs and floats and double being stored as string when using
client.admin().indices().create(createRequest)
Dates appear fine.
Here is part of the value used in createRequest.settings(value):
"trxamount":{"type":"double","boost":1}
Here is what I see in the logs:
trxamount":{"type":"string","index_name":"trxamount","index":"analyzed","store":"no","term_vector"
:"no","boost":1.0,"omit_norms":false,"omit_term_freq_and_positions":false}
I initially create an index using mappings, I don't provide all the fields such term_vector omit_terms etc, so Elastic Search is dynamically adding them later when I perform an index.
It looks like it is overriding my mappings.
The text was updated successfully, but these errors were encountered:
…l request elastic#244)
Change test3.tfvars merger from c5.large to m5a.large
* Change test3.tfvars merger from c5.large to m5a.large
Approved-by: Can Yildiz
It looks like Elastic Search is overriding my default mapping values when it adds defaults dynamically.
I'm seeing ints being stored as longs and floats and double being stored as string when using
client.admin().indices().create(createRequest)
Dates appear fine.
Here is part of the value used in createRequest.settings(value):
"trxamount":{"type":"double","boost":1}
Here is what I see in the logs:
trxamount":{"type":"string","index_name":"trxamount","index":"analyzed","store":"no","term_vector"
:"no","boost":1.0,"omit_norms":false,"omit_term_freq_and_positions":false}
I initially create an index using mappings, I don't provide all the fields such term_vector omit_terms etc, so Elastic Search is dynamically adding them later when I perform an index.
It looks like it is overriding my mappings.
The text was updated successfully, but these errors were encountered: