Hello,
I'm working on a filter query to speed up some searches but I only want to return certain fields. I've been running into some issues adding the fields I want to display to my query. This is what I have working:
{
"query": {
"bool": {
"must":{
"match": {
"user.id": "producer"
}
},
"filter": [
{ "term": { "project": "closed" }}
]
}
}
}
There are a number of fields in the document and I only want to return fields: project.name
, 'cost.initial,
cost.adjusted
cost.total`
Thanks