X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/1a8bb56c72ad34cf159e03b97a467e5e35a614c5..3c83676016bce1727f0046f4aad7865be8a71fd4:/scripts/search.php diff --git a/scripts/search.php b/scripts/search.php index af7a085..4de514f 100644 --- a/scripts/search.php +++ b/scripts/search.php @@ -24,8 +24,8 @@ if ($GLOBALS['phorkie']['cfg']['setupcheck']) { SetupCheck::run(); } -$r = new \HTTP_Request2( - 'http://localhost:9200/phorkie/repo/_search', +$r = new Database_Adapter_Elasticsearch_HTTPRequest( + $GLOBALS['phorkie']['cfg']['elasticsearch'] . 'repo/_search', \HTTP_Request2::METHOD_GET ); $r->setBody(