git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ADD: Commit as logged in user
[phorkie.git]
/
scripts
/
search.php
diff --git
a/scripts/search.php
b/scripts/search.php
index af7a08573d779f94f4cd1d08413150e2145970c0..4de514f06ea6af2c5c273dd66f10b40815f525ca 100644
(file)
--- a/
scripts/search.php
+++ b/
scripts/search.php
@@
-24,8
+24,8
@@
if ($GLOBALS['phorkie']['cfg']['setupcheck']) {
SetupCheck::run();
}
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(
\HTTP_Request2::METHOD_GET
);
$r->setBody(