Receive requests for the ElasticSearch percolator

I am trying to query ElasticSearch for all percolator queries that are currently stored on the system. My first thought was to make match_all with a type filter, but they don't seem to return from my testing if I execute the match_all query. Not in my life have I been able to find the right way to request them or any documentation on it, so any help is greatly appreciated.

Any other information about how stored percolator requests are handled differently from other types is also evaluated.

+5
source share
1 answer

This should return all percolation documents stored in the elasticsearch search cluster:

POST _all/.percolator/_search 

It searches for indexes (all indexes you registered) for documents like .percolator.

Basically this is what you described above: "match_all with type filter". Nevertheless, he does it a little differently.

I have not played with this much more than this, but I assume that it will actually allow you to execute a query / filter on percolators if you are looking for a percolator of a certain type.

This is version Elasticearch 1.3.4

+5
source

Source: https://habr.com/ru/post/1206757/


All Articles