Hi,
this is because filters and queries got merged in lucene 5.0. This change doesn't affect only the percolator, but the whole elasticsearch query DSL.
Where does the documentation say that you can use a filter? I think what we mean there is that you can still use filters, but you have to provide them as part of a bool query under the filter clause, plus filters and queries are really the same thing now (queries!), but whether they are cached and collect scores depends on where they are placed.
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.