added regular expression queries and esVersion service+directive+filter to allow a given element to require a specified elasticsearch version