Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type storage issues #244

Closed
SamD opened this issue Jul 3, 2010 · 2 comments
Closed

Type storage issues #244

SamD opened this issue Jul 3, 2010 · 2 comments

Comments

@SamD
Copy link

SamD commented Jul 3, 2010

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.

@kimchy
Copy link
Member

kimchy commented Jul 6, 2010

Is this really an issue? Did not get a response for the same question on the mailing list.

@SamD
Copy link
Author

SamD commented Nov 17, 2011

hmm this was a long time ago

@SamD SamD closed this as completed Nov 17, 2011
mindw pushed a commit to mindw/elasticsearch that referenced this issue Sep 5, 2022
…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
costin pushed a commit that referenced this issue Dec 6, 2022
🤖 ESQL: Merge upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants