Skip to content

Commit 298ca5c

Browse files
authored
Merge pull request #54 from vbcodeplicity/feature/replace-create-with-doc
es8 - replace _create with _doc for insert
2 parents fe21750 + df95172 commit 298ca5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Engine/Elasticsearch/ElasticsearchClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ElasticsearchClient
1515
const SEARCH = '_search';
1616
const TIMEOUT = 5;
1717
const METHOD_GET = 'GET';
18-
const INSERT = '_create';
18+
const INSERT = '_doc';
1919
const INSERT_METHOD = 'insert';
2020
const UPDATE = '_update';
2121
const UPDATE_METHOD = 'update';

0 commit comments

Comments
 (0)