From b5edcdd146332cab496e253251ed0460fb9bdd5c Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 25 May 2012 22:37:00 +0200 Subject: [PATCH] talk about resetting elasticsearch --- README.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.rst b/README.rst index 2485bbd..d37ae9b 100644 --- a/README.rst +++ b/README.rst @@ -56,6 +56,8 @@ Installation $ cp data/config.php.dist data/config.php $ $EDITOR data/config.php + Look at ``config.default.php`` for values that you may adjust. + 5. Set your web server's document root to ``/path/to/phorkie-0.2.0/www/`` 6. Open phorkie in your web browser @@ -108,6 +110,18 @@ That's all. Open phorkie in your browser, and you'll notice the search box in the top menu. +Reset +===== +In case something really went wrong and you need to reset the search +index, run the following command:: + + $ curl -XDELETE http://localhost:9200/phorkie/ + {"ok":true,"acknowledged"} + +Phorkie will automatically re-index everything when ``setupcheck`` is enabled +in the configuration file. + + ===== HowTo ===== -- 2.30.2