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

Problem Import MongoDB #112

Closed
akhoong opened this issue Aug 12, 2013 · 2 comments
Closed

Problem Import MongoDB #112

akhoong opened this issue Aug 12, 2013 · 2 comments

Comments

@akhoong
Copy link

akhoong commented Aug 12, 2013

Before, I install ES with MongoDB River Plugin and configuration with 1 cluster and 2 nodes(1 master, 1 replication) in single server.
I try to make index in ES and I try to test insert docs to MongoDB and docs successfully added in Index ES.
But after that I import database to MongoDB, Total documents in ES just more than 2 Million documents whereas in MongoDB more than 5 Millions docs.
Why? Can you help me how to fix it?

@richardwilly98
Copy link
Owner

Hi,

Was the replicaset before the data were imported in MongoDB?
If not only data available in oplog.rs will be stored in ES. If that's the problem you can do a bulk update in Mongodb (see #47).

Thanks,
Richard.

@akhoong
Copy link
Author

akhoong commented Aug 12, 2013

Thank you Richard. 👍
Fix now with Bulk Update.

@akhoong akhoong closed this as completed Aug 12, 2013
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

No branches or pull requests

2 participants