I'm using Significant Terms to find high frequency keywords in a text field. I'm using regex in the Include parameter, but want to Exclude certain exact terms I don't care about:
The IncludeExclude class that implements this has the limitation that an include list which is a regex can only be filtered by an exclude class which is also a regex. That means you'd need to rewrite as:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.