mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 06:06:40 +02:00
Fixed new Url
This commit is contained in:
@@ -288,7 +288,7 @@ class ElasticaHandlerTest extends TestCase
|
|||||||
protected function getDocSourceFromElastic(Client $client, $index, $type, $documentId)
|
protected function getDocSourceFromElastic(Client $client, $index, $type, $documentId)
|
||||||
{
|
{
|
||||||
if($type === null) {
|
if($type === null) {
|
||||||
$path = "/{$index}/{$documentId}";
|
$path = "/{$index}/_doc/{$documentId}";
|
||||||
} else {
|
} else {
|
||||||
$path = "/{$index}/{$type}/{$documentId}";
|
$path = "/{$index}/{$type}/{$documentId}";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user