-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Changing field type with create_mapping just hides the error #24
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
Comments
part of the mapper overhaul, this scenario should now work as expected. Basically, putting the new mapping will ignore conflicts so no exception on it |
This works now. I note that searching on the wrong type (eg field set to type integer, and search for 'foo') now throws this error: "SearchParseException[[twitter][0]: query[null],from[-1],size[-1]: Parse Failure [Failed to parse [[B@7e054643]]]; nested: NumberFormatException[For input string: "bar"]; " May be worth tidying that up :) |
There is so much more work on getting proper exceptions out :) |
Closes #24. (cherry picked from commit 1596bf6)
Closes #24. (cherry picked from commit aca83a7)
Related to #24. (cherry picked from commit ee289c9)
Closes #24. (cherry picked from commit 9c62411)
Closes #24. (cherry picked from commit 13c60e4)
With change #24, non integration can not run anymore. (cherry picked from commit 76eecc8)
Closes #24. (cherry picked from commit e03a16b)
Due to refactoring in 0.21.x we have to update this plugin Closes elastic#24.
Added functionality to install .deb from an downloaded file instead of repository.
…types (elastic#24) * Split large shard sizing into two challenges and added additional id types * Updated README.md file for revised large shard sizing tests * Updated following review. * Updated to use default Rally refresh operation
Easier to give an example than to explain:
- on a new cluster (ie no indices, no mappings)
- index a document with eg { foo: 123 } # sets type of foo to 'int'
- index a doc with { foo : "bar" } # throws an error
- create a mapping and set foo's type to 'string'
- index the doc with { foo: "bar"} # ok
- search for {term: { foo: 123}} # 1 hit
- search for {term: { foo: "bar"}} # no hits
So setting the mapping doesn't change the type of 'foo', it just hides the error message later on.
This seems inconsistent to me - it should either change the type of 'foo' going forward, or throw an error when you try to change the type with create_mapping.
Log file follows:
The text was updated successfully, but these errors were encountered: