Ok, I'm a novice so I appologize for silly questions.
When we create a set of documents for bulk indexing and immediately after make a request that should include those documents in php it will trigger a 'json_decode: integer overflow' and I suspect that is because some of the documents have missing values.
If we wait 1-2 minutes everything works as expected and a solution might be along the lines as suggested in https://github.com/ruflin/Elastica/issues/717.
I am curious as to why there is documents with missing values in the index (if it is indeed the case).
When doing bulk creation of documents, are ES creating "placeholders" for those documents and then filling in the values, or are we doing something silly when doing bulk indexing (in PHP)?