Skip to content

WIP: feat: create document functionality + yaml support refs #143 #144

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

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

Conversation

kstasik
Copy link

@kstasik kstasik commented May 6, 2022

Added CREATE_DOCUMENT + yaml support.

resolves #143

@kstasik kstasik force-pushed the feature/create-documents-and-yaml-support-143 branch from cfeb03b to 54a7519 Compare May 6, 2022 17:52
...resolvedMigration.query_parameters
};

await esClient.postDocument(data);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this process, it is not a good idea to use postDocument if the goal is to register multiple data in a loop process!
This is not suitable for registering large amounts of data.

Internally, it is just executing the Index API, so it is correct to use the Bulk API if you want to use it for your purpose.

https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html

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.

feature request: create documents
2 participants