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?
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?