diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-05-01 21:31:46 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-05-01 21:31:46 +0200 |
| commit | 06524ec25d81c383bc801dee70582a42b348303c (patch) | |
| tree | b94abe67ef99990eb7bca43fbb29a3e8173f657a /scripts/search.php | |
| parent | 9e1b6dbecf1ebc160b8ceca14ecade816638790b (diff) | |
| download | phorkie-06524ec25d81c383bc801dee70582a42b348303c.tar.gz phorkie-06524ec25d81c383bc801dee70582a42b348303c.zip | |
use configured elasticsearch address
Diffstat (limited to 'scripts/search.php')
| -rw-r--r-- | scripts/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/search.php b/scripts/search.php index af7a085..f9688bb 100644 --- a/scripts/search.php +++ b/scripts/search.php @@ -25,7 +25,7 @@ if ($GLOBALS['phorkie']['cfg']['setupcheck']) { } $r = new \HTTP_Request2( - 'http://localhost:9200/phorkie/repo/_search', + $GLOBALS['phorkie']['cfg']['elasticsearch'] . 'repo/_search', \HTTP_Request2::METHOD_GET ); $r->setBody( |
