-
Notifications
You must be signed in to change notification settings - Fork 214
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
No documents found on elastic #111
Comments
@arnaudroubinet could you please provide ES log file? You also have authentication enabled in MongoDB. Can you confirm the user can access oplog.rs ? Thanks, |
This is my log. [2013-08-07 17:12:29,129][INFO ][node ] [Blaze, Johnny] {0.90.2}[26563]: initializing ... |
@arnaudroubinet the log does not match the river settings you have provided. The log says:
|
Thank you for helping me. I can't login on mongooplog and credential I provided before. But when I use mongooplog --from localhost I have this return. connected to: 127.0.0.1 This time I try without credential and I have this result. [2013-08-07 18:30:00,874][INFO ][cluster.metadata ] [Blaze, Johnny] [_river] creating index, cause [auto(index api)], shards [1]/[1], mappings [] For this json files { |
From the log we can tell the river is polling documents from b2c_dev.shopping_users. |
I can't check the good syntax of name before tomorrow, but yes, I have ten documents in this collection. |
Please also execute the following query from MongoDB local database:
|
With your indication I have found my problem, thanks for that. I only have on elastic the differential between my collection at T time and now. How can I easily synchronise all the collection without use an etl? |
The river imports everything available in oplog.rs. In other words everything stored in the collection since replicaset has been enabled. So you could just do a bulk-update on the collection to get it synchronized in ES. See #47 |
Thanks for your help. |
Hello Richard,
I use elasticsearch-0.90.2 with
elasticsearch-river-mongodb-1.6.11
mongo-java-driver-2.11.2
And elasticsearch-mapper-attachments-1.7.0.
I have two replicates of my mongodb(2.4.5) on the same computer and one instance of elasticsearch.
When I send my json files elastic say ok, I have on log the server status and my mapping is updated, but after that, nothing happen.
I check replication between my two instances of mongo and it work fine.
I check oplogs and seem work fine.
I have no error on the log and I’m very disappointed.
Can you help me?
The text was updated successfully, but these errors were encountered: