If use now-7d/d in a percolator query in 5.4.0+ I get an error:
Caused by: java.lang.IllegalArgumentException: Percolator queries are not allowed to use the current timestamp
at org.elasticsearch.index.IndexService.lambda$null$0(IndexService.java:149) ~[elasticsearch-5.4.0-SNAPSHOT.jar:5.4.0-SNAPSHOT]
@EEEELIAS Thank you for reporting this. I verified that range queries with now are still not working in the percolator. There is no workaround. I'll open a pr to fix this.
Thanks! @mvg I pulled your branch and it's working! I guess this won't make it until 5.4.1 release so I will build an AMI with this deb I patched for now.
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.