LPS-50409 Missed one change in 2f8ca48f

Hi @mhan810, sending this PR to you for review since it's related to elastic search. It looks like this file wasn't changed in Igor's commit for 2f8ca48f, which is now causing compile errors at head. Let me know if it should be sent somewhere else though. Thanks!