tlrx / elasticsearch-test

elasticsearch-test, a framework that makes elasticsearch unit testing a breeze.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BulkLoading, last line is forgiven (if the file hasn't a final \n)

gpolaert opened this issue · comments

If there is no \n at the end of file, the last document isn't loading into the index.
I use

    clusterSetup.execute(
                deleteAll(),
                createIndex("log-fake")
                        .withData(fromClassPath("app/indexing/postfix.json")));