-
Notifications
You must be signed in to change notification settings - Fork 431
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
ES 5.0 compatibility #55
Comments
@shikhar Would probably be good to get the system tests to run against ES 5.0 too, will probably reveal many issues. |
So ES 5.x is not yet supported by this library? |
Same question here... |
I believe that one of the issues with using the string type in ES 5 is combining it with null_value. Omitting the null_value setting in |
It's not fully supported yet (though note that you can still use it -- just the incompatibility noted above). This should get closed once ES 5 support is resolved. |
Is this issue is still open? |
elasticsearch 5.0 will silently convert string to the new text field data type, but in 6.0 this fails miserably. Line 36 in e5aec60
|
For ES 6.0 and above, the string type has been completely removed. In order to get the existing elasticsearch-connector to work with ES, we can set Importing data into ES will work with the above workaround. When the mappings are not specified, ES server will detect the type using the field mapping rules specified here. A string in your JSON document will most likely be converted into a text type and a keyword type (if it's within the length limits). This will allow full text searches on the analyzed text. |
See #154 (comment) |
This is fixed with #169 |
Let's track known issues here.
Schema.Type.STRING
tostring
fails because is is not a valid ES type anymore (https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_50_mapping_changes.html)The text was updated successfully, but these errors were encountered: