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

Ensure JSON content type in performRequestOnCurrentHost #1

Open
wants to merge 47 commits into
base: master
Choose a base branch
from

Conversation

benlabbe
Copy link

@benlabbe benlabbe commented Apr 5, 2018

No description provided.

@mbumba
Copy link
Collaborator

mbumba commented May 22, 2018

Hello @benlabbe, thank you for your participation on Elasticlient library. At first, I would like to say sorry for my late reply. Few minutes ago I merged the fix (5d91a85) which should ensure that JSON content type is sent when request's body is not empty. I also modified tests for this issue.

Does this solve the issue for you? This pull request goes from your master branch, so I'm not entirely sure which commits are relevant. Thank you

@benlabbe
Copy link
Author

benlabbe commented May 23, 2018 via email

WLBF and others added 23 commits August 22, 2018 23:29
updateDocument feature for SameIndexBulkData
Proxy can by used to 
 - debug connection
 - change headers on the flight when needed
Providing a way to connect to ES cluster via proxy server
Externals updated to latest versions.
ladislavmacoun and others added 19 commits June 16, 2021 11:20
While creating a document with an explicit identifier, Elasticsearch
needs to perform a check whether the same id already exists within the
same shard.

This patch makes setting document id optional. And using
auto-generated ids by leaving _id parameter, which makes indexing faster.

Signed-off-by: Ladislav Macoun <[email protected]>
Signed-off-by: Ladislav Macoun <[email protected]>
Changed document identifier to be optional
The library will be build depending on the BUILD_SHARED_LIBS[1] flag.
This enables to build and link this library statically.

[1]: https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html

Signed-off-by: Ladislav Macoun <[email protected]>
For long string the validation is expensive, and often not necessary
since the doc could be validated during its
constructions/deserialization.

The option default to true, so previous API should not be broken.

Signed-off-by: Ladislav Macoun <[email protected]>
…ssary.

So versions are set only when building shared library.
…adding optional argument. When ABI breaks this commit could be "reverted"...
# Conflicts:
#	src/CMakeLists.txt
#	src/client.cc
# Conflicts:
#	src/CMakeLists.txt
#	src/client.cc
# Conflicts:
#	src/client.cc
@benlabbe
Copy link
Author

benlabbe commented Jun 3, 2022

Dear Martin,

I recently merged all your contributions since 2018 into my master branch. Still my pull request is relevant from my point of view because I updated the cmake config scripts for an easier package distribution / integration in other C++ projects .

Any remarks ?

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

Successfully merging this pull request may close these issues.

6 participants