From: Christian Weiske Date: Fri, 25 May 2012 20:37:00 +0000 (+0200) Subject: talk about resetting elasticsearch X-Git-Tag: v0.2.0^0 X-Git-Url: https://git.cweiske.de/phorkie.git/commitdiff_plain/b5edcdd146332cab496e253251ed0460fb9bdd5c talk about resetting elasticsearch --- 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 =====