Skip to content

Update documents or swap indexes? #5208

Answered by ManyTheFish
alehandraxx asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @alehandraxx,
It depends on your machine's performance. If your machine is able to ingest all 500k documents in 1 task, then do it. It's the simplest process, so don't bother doing something else.
However, if you have a small machine and want to avoid crashes, I suggest creating a new index. Start by putting your settings and then adding your documents in batches. At the end, swap and delete the old index, it's the safe way.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alehandraxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants