Giter Site home page Giter Site logo

Comments (10)

jozanek avatar jozanek commented on June 19, 2024 2

So ES 5.x is not yet supported by this library?

from kafka-connect-elasticsearch.

wicknicks avatar wicknicks commented on June 19, 2024 1

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 schema.ignore to true in the connector configuration. This will skip creating the mappings which causes the tasks to fail.

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.

from kafka-connect-elasticsearch.

ewencp avatar ewencp commented on June 19, 2024

@shikhar Would probably be good to get the system tests to run against ES 5.0 too, will probably reveal many issues.

from kafka-connect-elasticsearch.

otisg avatar otisg commented on June 19, 2024

Same question here...

from kafka-connect-elasticsearch.

azell avatar azell commented on June 19, 2024

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 Mapping.java allows ES 5 to create the mapping.

from kafka-connect-elasticsearch.

ewencp avatar ewencp commented on June 19, 2024

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.

from kafka-connect-elasticsearch.

rusrushal13 avatar rusrushal13 commented on June 19, 2024

Is this issue is still open?
I would like to work on it 😄

from kafka-connect-elasticsearch.

babadofar avatar babadofar commented on June 19, 2024

elasticsearch 5.0 will silently convert string to the new text field data type, but in 6.0 this fails miserably.
This line:

from kafka-connect-elasticsearch.

synhershko avatar synhershko commented on June 19, 2024

See #154 (comment)

from kafka-connect-elasticsearch.

rayokota avatar rayokota commented on June 19, 2024

This is fixed with #169

from kafka-connect-elasticsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.