Support for elasticsearch 7.x #24
-
Hi, I noticed you mentioned testing it with ES 7.x and 8.x, however in the requirements it is currently limited to >=8.6.0, <9.0.0. Since the ES version needs the corresponding elasticsearch package version, how is it possible to install elasticsearch 7.x and pyesorm together? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
It is now supported in v0.6.2 to use older (7.x) library versions. |
Beta Was this translation helpful? Give feedback.
Hmm, which version of the library you use? I've tested with the newest 7.17.12, which has this:
So it is supported with both mappings and body.
You don't need to use the same version of the library as the ES itself. If you think it is a problem, I can create a try catch around it to make the older syntax also possible. Or pull request is welcome. But I think you should just update to the latest 7.x version of the lib.