Hi,
About mongoDB river.
What does this mean: "Current implementation monitors oplog collection" -
what does listening on oplog collection mean?
Regards,
Janusz
--
Hi,
About mongoDB river.
What does this mean: "Current implementation monitors oplog collection" -
what does listening on oplog collection mean?
Regards,
Janusz
--
I'm not a MongoDB expert, so someone else may want to add something to
this question. The ES MongoDB river plugin listens to the oplog for
any updates that have happened and replays them in ES. The oplog
(operation log) is where inside Mongodb all operations are logged /
kept for a period of time.
Martijn
On 8 January 2013 13:06, JD jdalecki@tycoint.com wrote:
Hi,
About mongoDB river.
What does this mean: "Current implementation monitors oplog collection" -
what does listening on oplog collection mean?Regards,
Janusz
--
--
Met vriendelijke groet,
Martijn van Groningen
--
Martijn is correct.
This is actually the same mechanism used internally in MongoDB to spread
the data in its replicaset.
For more details please check these links [1], [2].
[1] - Replication Internals – Kristina Chodorow's Blog
[2] - http://docs.mongodb.org/manual/replication/
Thanks,
Richard.
On Tuesday, January 8, 2013 8:54:49 AM UTC-5, Martijn v Groningen wrote:
I'm not a MongoDB expert, so someone else may want to add something to
this question. The ES MongoDB river plugin listens to the oplog for
any updates that have happened and replays them in ES. The oplog
(operation log) is where inside Mongodb all operations are logged /
kept for a period of time.Martijn
On 8 January 2013 13:06, JD <jdal...@tycoint.com <javascript:>> wrote:
Hi,
About mongoDB river.
What does this mean: "Current implementation monitors oplog collection"
what does listening on oplog collection mean?
Regards,
Janusz
--
--
Met vriendelijke groet,Martijn van Groningen
--
How to create index for a attachment of pdf by using
elasticsearch-river-mongodb: 1.6.9 (don't have any hits,or missing fields)
Dear All,
I am new to elasticsearch. I have tried to follow the different tutorials
and post on index and mapping attached pdf document in a mongodb database
for days without success. After running the codes below i don't have any
hits from words that exist in the mongodb attached files.
software version:
MongoDB: mongodb-linux-x86_64-2.4.3
elasticsearch-river-mongodb: 1.6.9
elasticsearch: 0.90
elasticsearch-mapper-attachments: 1.7.0
Problem No. 1
{"took":179,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":0,"max_score":null,"hits":}}
Problem No. 2
alter mapping:
curl -XPUT 'http://localhost:9200/articleindex/cardiopathy/_mapping' -d '
{
"cardiopathy" : {
"file" : {
"properties" : {
"Authors" : {"type": "string","indexAnalyzer": "ik","searchAnalyzer":
"ik","store" : "yes"},
"Media" : {"type": "string","indexAnalyzer": "ik","searchAnalyzer":
"ik","store" : "yes"},
"Organization" : {"type": "string","indexAnalyzer": "ik","searchAnalyzer":
"ik","store" : "yes"},
"Keywords" : { "type" : "string" ,"indexAnalyzer": "ik","searchAnalyzer":
"ik","store" : "yes"},
"Title" : {"type": "string","indexAnalyzer": "ik","searchAnalyzer":
"ik","store" : "yes"},
"ISSN" : {"type": "string","indexAnalyzer": "ik","searchAnalyzer":
"ik","store" : "yes"},
"Pages" : { "type" : "string" ,"indexAnalyzer": "ik","searchAnalyzer":
"ik","store" : "yes"},
"Abstracts" : { "type" : "string" ,"indexAnalyzer": "ik","searchAnalyzer":
"ik","store" : "yes"},
"FileContent" : {
"type" : "attachment",
"fields" : {
"file" : { "indexAnalyzer": "ik","searchAnalyzer": "ik","store" : "yes",
"index" : "analyzed" },
"date" : { "store" : "yes" },
"author" : { "store" : "yes" },
"keywords" : { "store" : "yes" },
"content_type" : { "store" : "yes" },
"title" : { "store" : "yes" }
}
}
}
}
}
}'
Retrieve the indexed document by the keyword:
{"took":63,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":0,"max_score":null,"hits":}}
Problem No. 3
在 2013年1月10日星期四UTC+8上午6时05分39秒,Richard Louapre写道:
Martijn is correct.
This is actually the same mechanism used internally in MongoDB to spread
the data in its replicaset.For more details please check these links [1], [2].
[1] - Replication Internals – Kristina Chodorow's Blog
[2] - http://docs.mongodb.org/manual/replication/Thanks,
Richard.On Tuesday, January 8, 2013 8:54:49 AM UTC-5, Martijn v Groningen wrote:
I'm not a MongoDB expert, so someone else may want to add something to
this question. The ES MongoDB river plugin listens to the oplog for
any updates that have happened and replays them in ES. The oplog
(operation log) is where inside Mongodb all operations are logged /
kept for a period of time.Martijn
On 8 January 2013 13:06, JD jdal...@tycoint.com wrote:
Hi,
About mongoDB river.
What does this mean: "Current implementation monitors oplog collection"
what does listening on oplog collection mean?
Regards,
Janusz
--
--
Met vriendelijke groet,Martijn van Groningen
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.