If the field message is a text field, you could use a simple DSL query filter. For example, to filter the documents where category contains Men's Shoe string:
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.