zackiles / elasticsearch-odm

Like Mongoose but for Elasticsearch. Define models, preform CRUD operations, and build advanced search queries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calls to connect() when no index exists hangs on first start.

zackiles opened this issue · comments

Calls to connect should automatically create the index if it doesn't exist. In the rare case it doesn't, it automatically creates the index, but then hangs instead of resolving the promise. This requires restarting the application once more and then everything works like normal.