Sorry, while this works fine for strings, the field is an array with interests, eg
['Football','Hockey','Racquetball']
so the query filter works fine of course to only get items that have at least one 'ball' as an interest but in this case the terms aggregation would also return 'Hockey' ?
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.