git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use configured elasticsearch address
[phorkie.git]
/
scripts
/
search.php
diff --git
a/scripts/search.php
b/scripts/search.php
index af7a08573d779f94f4cd1d08413150e2145970c0..f9688bb35320bef97a5d0dd646275434a39beefc 100644
(file)
--- 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(