0

I am writing a php application that stores data in Elasticsearch. I want to be able to search for latest indexed data from elasticsearch in realtime ( Without the index refresh time barrier ). How do i achieve such functionality?

Note : The following never helped achieve real timeness

$client->indices()->refresh();

Nor

'refresh'   => true

Elasticsearch V2.3

I am Using the official PHP Elasticsearch Driver