mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #13873 from bfsmith/master
ElasticSearch create document id optional
This commit is contained in:
@@ -32,6 +32,11 @@ client.indices.delete({
|
||||
}, function (error) {
|
||||
});
|
||||
|
||||
client.create({
|
||||
index: 'index',
|
||||
type: 'type'
|
||||
});
|
||||
|
||||
client.create({
|
||||
id: '123',
|
||||
index: 'index',
|
||||
|
||||
Vendored
+1
-1
@@ -195,7 +195,7 @@ declare module Elasticsearch {
|
||||
version?: number;
|
||||
versionType?: VersionType;
|
||||
pipeline?: string;
|
||||
id: string;
|
||||
id?: string;
|
||||
index: string;
|
||||
type: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user