-
Notifications
You must be signed in to change notification settings - Fork 732
Closed
Description
Elastica/lib/Elastica/Search.php
Line 466 in 02bf2fb
| Request::GET, |
Currently the request method is hardcoded and I need to change it to be able to use a proxy. My current workaround is the following:
$search = $this->indexType->createSearch($query);
//request via client, otherwise the path string generation will be prefixed again.
$response = $this->indexType->getIndex()->getClient()->request(
$search->getPath(),
Request::POST,
$search->getQuery()->toArray(),
$options
);
$result = $search->getResultSetBuilder()->buildResultSet($response, $search->getQuery());But what I actually wanted to do would be something like this:
$result = $this->indexType->search($query, $options, Request::POST);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels