Missing indexed documents (php api)

I have the problem that not all documents (1300000) are indexed when using the php api (1.0).
It dosent matter if I use the bulk or the single index function.
I have set the loglevel to:
Psr\Log\LogLevel::INFO

But there is no message in the logfile about rejected documents. There are about 400000 not indexed documents.

The queue_size of elasticsearch (1.5.2) is set to 2000.

What is going wrong? And how can I debug this?

Thanks,
Armand

Problem solved. It wasnt the problem of es but the script i wrote. Sorry for the nonsense posting.

Glad you got it sorted :slight_smile: