filter output when searching for jobs

This commit is contained in:
2016-05-16 14:06:28 -07:00
parent 0bf6fb0023
commit 9aa8eed297
2 changed files with 10 additions and 0 deletions

View File

@@ -228,6 +228,9 @@ export default class Job extends events.EventEmitter {
_getPendingJobs() {
const nowTime = moment().toISOString();
const query = {
_source : {
exclude: [ 'output.content' ]
},
query: {
constant_score: {
filter: {