New High Level Rest java api does not include support for percolator queries. With the old java client the support was limited via PercolateQueryBuilder. Given that the feature is not marked as deprecated (and hopefully will not be, since it is a great feature) two questions arise:
- will the library offer support for this query type as it does with the other query types?
- in the meanwhile which is the best workaround to get it working with the high level rest api?
We are going to generate the query as a json and pass it to the search source with XContentType. Didn't test it yet, but we are heading that workaround.
Kind regards and keep walking.