I could see below warning message in my ES Logs.
[2017-04-07T13:34:15,260][WARN ][o.e.m.j.JvmGcMonitorService] [FBp7aLX] [gc] overhead, spent [1s] collecting in the last [1.1s]
Also in our settings for ES, the refresh interval for document is set as 1s.
So because of the above warning does it mean it takes 1.1s+1s = 2.1 s to index a document?
Can someone explain more about this GC overhead and how to overcome this?