5.0.0-rc1, QueryBuilders.percolateQuery missing?


(Daniel McGreal) #1

Hi Elasticsearchers,

I've lost QueryBuilders.percolateQuery (referenced https://www.elastic.co/guide/en/elasticsearch/client/java-api/5.x/java-specialized-queries.html#java-query-percolate-query)

Thanks!
Dan.


(Christoph) #2

Hi,

those utility methods have been removed when Percolator was moved to its own module. Those methods in QueryBuilders didn't do much themselves other than creating a new PercolateQueryBuilder with the arguments you passed in, so it should be straight forward to create your builder directly.


(Daniel McGreal) #3

Ok. It would be cool to have a fluent builder in the module.


(system) #4