Thanks Shay for your response. Much appreciated.
Yup, that is a way to do it.
But was looking for a much more seamless integration.
It would have been great if I could have specified something like (using a
- Watch Collection A and B
- Index a selected set of attributes and subdocuments of a particular
And that's it.
Then onwards any change in these collections ES gets notified and the job is
All these can be done in a wrapper layer as well, but would have ideal
through a mongo push.
On Mon, Nov 29, 2010 at 4:36 AM, Shay Banon email@example.com:
There were some questions about it some time ago, maybe people who have
done it can jump in. The way that I see it, you will need to integrate the
sync between the two on the client side. For example, everytime you change
something on mongo, apply the same change to ES (either directly or through
a message queue).
I don't see a way that ES can do it automatically by querying mongo (as
it does with couchdb and the _changes stream). But, if someone has an idea,
I would be happy to hear it and maybe we can implement it.
On Sun, Nov 28, 2010 at 1:02 PM, Gautam firstname.lastname@example.org wrote:
Has anyone integrated ES with mongodb. I would really appreciate if
you share your experience and how you have done it.
I am exploring options to use ES for full text search for some of my
data stored in Mongo.
Is there any easy way to update ES indexes as and when mongodb gets
updated? Just so that I can avoid duplicating the data.