We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fe21750 + df95172 commit 298ca5cCopy full SHA for 298ca5c
1 file changed
src/Engine/Elasticsearch/ElasticsearchClient.php
@@ -15,7 +15,7 @@ class ElasticsearchClient
15
const SEARCH = '_search';
16
const TIMEOUT = 5;
17
const METHOD_GET = 'GET';
18
- const INSERT = '_create';
+ const INSERT = '_doc';
19
const INSERT_METHOD = 'insert';
20
const UPDATE = '_update';
21
const UPDATE_METHOD = 'update';
0 commit comments