includeFlags in TermBuilders for Elasticsearch 2.0?

How can I find includeFlags which was earlier in Elasticsearch TermBuilders?

This is only present in SignificantTermBuilders!!

Hi,

thanks for spotting this. I have created the following tickets on Github:

However, note that the internal implementation has changed from java.util.Regex to org.apache.lucene.util.automaton.RegExp so the newly exposed flags will have different semantics (see the Lucene docs on Regexp) once the tickets are implemented.

Daniel