After understanding the basic concepts of Percolator, I started adding
query as well as filter to a percolator, but it seems like, somewhere
went wrong and the percolator is considering only the query while
pulling the results and filters are getting ignored.
I am not sure if Percolator supports filter along with query. Then I
tried adding those filter conditions as multiple queries and that too
failed. So, how can I achieve adding a complete search(with query and
filter) in Percolator?
Below is the code snippet I am using for this. Please let me know if I
am wrong any where
BoolQueryBuilder qb = new BoolQueryBuilder();
client.prepareIndex("_percolator", "alert", "id1")