Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Delete Content

Tim May 16, 2014 01:10PM EEST

Hi,

How delete my data in /ptf/.percolator ?

I deleted index with : curl -XDELETE 'https://site:token@balin-eu-west-1.searchly.com/ptf/.percolator'

My index is deleted but not my content.

Thanks.

3 Community Answers

Best Answer
Ferhat Sobay Oct 24, 2014 11:36PM EEST

You can try regular delete by query https://github.com/searchbox-io/Jest/blob/master/jest-common/src/main/java/io/searchbox/core/DeleteByQuery.java with related index and set type as ".percolator".

View in conversation


Up 1 rated Down
Ferhat Sobay May 16, 2014 02:05PM EEST Searchly Agent
Hi Timothy,

Try with delete by query; http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-delete-by-query.html

curl -XDELETE 'https://site:token@balin-eu-west-1.searchly.com/ptf/.percolator/_query' -d '{ "query" : { "match_all" : {} } }'
Up -1 rated Down
左正朋 Oct 23, 2014 12:22PM EEST
How to use in Jest?
Up 0 rated Down
Ferhat Sobay Best Answer Oct 24, 2014 11:36PM EEST Searchly Agent
You can try regular delete by query https://github.com/searchbox-io/Jest/blob/master/jest-common/src/main/java/io/searchbox/core/DeleteByQuery.java with related index and set type as ".percolator".

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
support@searchly.com
http://assets2.desk.com/
false
searchboxio
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete