git.cweiske.de
/
phinde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56175d4
)
tell how to delete a domain
author
Christian Weiske
<
[email protected]
>
Sun, 21 May 2017 08:44:08 +0000
(10:44 +0200)
committer
Christian Weiske
<
[email protected]
>
Sun, 21 May 2017 08:44:08 +0000
(10:44 +0200)
README.rst
patch
|
blob
|
history
diff --git
a/README.rst
b/README.rst
index 0008b601ec91cbfcd9fc24365b54d9766fce8d1e..5aa0709d8900b567fb47252050a9bab0744110e9 100644
(file)
--- a/
README.rst
+++ b/
README.rst
@@
-74,6
+74,18
@@
Cron job
Run ``bin/renew-subscriptions.php`` once a day with cron.
+=====
+Howto
+=====
+
+Delete index data from one domain::
+
+ $ curl -iv -XDELETE -H 'Content-Type: application/json' -d '{"query":{"term":{"domain":"example.org"}}}' http://127.0.0.1:9200/phinde/_query
+
+That's delete-by-query 2.0, see
+https://www.elastic.co/guide/en/elasticsearch/plugins/2.0/delete-by-query-usage.html
+
+
============
About phinde
============