aboutsummaryrefslogtreecommitdiff
path: root/bin/setup.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2016-08-30 08:05:00 +0200
committerChristian Weiske <cweiske@cweiske.de>2016-08-30 08:05:00 +0200
commit59f931647a2b4a13be20ba8f2baa4ec93e334ee5 (patch)
treecacf6c1e152772e74d616aeb753a94d56dc2ec7a /bin/setup.php
parent210a7ec82c46ed6e410f80be4b1149f5295b1306 (diff)
downloadphinde-59f931647a2b4a13be20ba8f2baa4ec93e334ee5.tar.gz
phinde-59f931647a2b4a13be20ba8f2baa4ec93e334ee5.zip
Add support for modification date queries: "before:", "after:" and "date:"
Resolves: #4
Diffstat (limited to 'bin/setup.php')
-rwxr-xr-xbin/setup.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/setup.php b/bin/setup.php
index 1e6c66d..ca71aed 100755
--- a/bin/setup.php
+++ b/bin/setup.php
@@ -1,7 +1,10 @@
#!/usr/bin/env php
<?php
namespace phinde;
-//configure the elasticsearch index
+/**
+ * Configure the elasticsearch index.
+ * Throws away all data.
+ */
require_once __DIR__ . '/../src/init.php';
//delete old index