mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
elasticsearch: Fix the _source parameter on mget
This commit is contained in:
@@ -206,7 +206,8 @@ client.mget({
|
||||
index: 'myindex',
|
||||
type: 'mytype',
|
||||
body: {
|
||||
ids: [1, 2, 3]
|
||||
ids: [1, 2, 3],
|
||||
_source: ['test']
|
||||
}
|
||||
}, (error, response) => {
|
||||
// ...
|
||||
|
||||
Vendored
+1
-1
@@ -465,7 +465,7 @@ export interface MGetParams extends GenericParams {
|
||||
preference?: string;
|
||||
realtime?: boolean;
|
||||
refresh?: boolean;
|
||||
source?: NameList;
|
||||
_source?: NameList;
|
||||
_sourceExclude?: NameList;
|
||||
_sourceInclude?: NameList;
|
||||
index?: string;
|
||||
|
||||
Reference in New Issue
Block a user