Replaced hardcoded boolean value with correct parameter. Closes #3898.
Merge branch 'master' of https://github.com/bogdan-dumitrescu/elasticsearch