rwynn / monstache-site

documentation for the monstache project
https://rwynn.github.io/monstache-site/
MIT License
22 stars 31 forks source link

Empty mongodb collection not indexed in elastic search #33

Open tamis-laan opened 11 months ago

tamis-laan commented 11 months ago

For my application I have a few mongodb collections I'm indexing into elastic search using monstache. When the application starts the collections are created but still empty. These empty collections are not indexed into elastic search by monstache which gives problems as I get "index not found exception" errors back causing my rest api in turn to throw internal server errors.

Is it possible to create elastic search indexes for the mongodb collections even though they are empty?