Github user otherview commented on the issue:
https://github.com/apache/nifi/pull/2287
Took @mattyb149 idea and changed the version attribute to accept Expression
Language.
On an unrelated note, while testing noticed that this processor does not
support elasticsearch 6. Will have a look for tickets related to it!---
