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

Rebuilding elastic index takes a lot of time #16308

Open
konika-jindal opened this issue Jun 13, 2024 · 5 comments
Open

Rebuilding elastic index takes a lot of time #16308

konika-jindal opened this issue Jun 13, 2024 · 5 comments

Comments

@konika-jindal
Copy link

konika-jindal commented Jun 13, 2024

I am having almost 25000 data for an elasticsearch index to rebuild , it takes almost 12-14 hours to rebuild , if I want to add just a small change and rebuild or reset then it takes almost 12-14 hours to rebuild . I want to reduce its time . How can I do that?

@sebastienros
Copy link
Member

@konika-jindal do you have suggestions to improve it? Have you tried debugging the background indexing task and see what part was taking too much time? For instance could you try to change the batch size to see if it has any effect.

Maybe there is a way to batch the documents that are sent to ES, it could be a way to improve perf. Or maybe other best practices on how to optimize big numbers of documents to ES. Could try to you investigate?

@konika-jindal
Copy link
Author

Yes sure , I will try out these ways and let you know for same .

@hyzx86
Copy link
Contributor

hyzx86 commented Jun 15, 2024

This PR may be related to this issue, but I don't have time to deal with them at the moment.

#14063

@konika-jindal
Copy link
Author

I am not getting anything in background task as required , is there another way to go?

Copy link

It seems that this issue didn't really move for quite a while despite us asking the author for further feedback. Is this something you'd like to revisit any time soon or should we close? Please reply.

@github-actions github-actions bot added the stale label Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants