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 httprequest wrapper to automatically check for errors
[phorkie.git]
/
src
/
phorkie
/
Search
/
Elasticsearch.php
diff --git
a/src/phorkie/Search/Elasticsearch.php
b/src/phorkie/Search/Elasticsearch.php
index 0ed766b6b68bf67cc24a9ec0a1d4ce2cde174af4..06a0cfe57552cac5e72ab5e9848f732ff08faf8b 100644
(file)
--- a/
src/phorkie/Search/Elasticsearch.php
+++ b/
src/phorkie/Search/Elasticsearch.php
@@
-20,7
+20,7
@@
class Search_Elasticsearch
*/
public function search($term, $page = 0, $perPage = 10)
{
*/
public function search($term, $page = 0, $perPage = 10)
{
- $r = new
\HTTP_Request2
(
+ $r = new
Database_Adapter_Elasticsearch_HTTPRequest
(
$this->searchInstance . 'repo/_search',
\HTTP_Request2::METHOD_GET
);
$this->searchInstance . 'repo/_search',
\HTTP_Request2::METHOD_GET
);