Unregister a percolator query?

(Rio) #1


I've been looking around the API, but couldn't find a method to
unregister a percolator query. Is this possible?


(Benjamin Devèze) #2


since the registered percolator queries are just docs in an index you can
unregister a percolator query as you delete a document in standard indexes,
something like:

curl -XDELETE localhost:9200/_percolator/test/foo

(Benjamin Devèze) #3

Ok I have just opened a pull request to the doc to make sure it is clear how
to unregister a percolator query.

(system) #4