rs-pro / mongoid-elasticsearch

DEPRECATED - Consider using SearchKick https://github.com/ankane/searchkick
MIT License
61 stars 23 forks source link

Bulk insert, does it update the index? #20

Closed plotti closed 9 years ago

plotti commented 9 years ago

I was wondering if using e.g. GoogleAnalytic.collection.insert(entries) updates the es index also, since its bypassing all validations and callbacks on the rails side.

Cheers and thanks a lot for your hint Thomas

glebtv commented 9 years ago

No, if you're doing this you need to rebuild the index afterwards.