Use excludes instead of exclude in ES _source query
As of ES 5.0, you must use the plural name.
This commit is contained in:
@@ -287,7 +287,7 @@ export default class Job extends events.EventEmitter {
|
||||
const nowTime = moment().toISOString();
|
||||
const query = {
|
||||
_source : {
|
||||
exclude: [ 'output.content' ]
|
||||
excludes: [ 'output.content' ]
|
||||
},
|
||||
query: {
|
||||
constant_score: {
|
||||
|
||||
Reference in New Issue
Block a user