How would I include documents to my result (given _id's) when they DONT match the query?
example query:
{
"query": {
"bool": {
"must": [
{
"term": {
"purpose": {
"value": "my_important_value_that_must_comply"
}
}
}
]
}
}
}
resulting in all documents matching the above, but ALSO include documents in the (same?) result with given _id [1,2,3] (which dont match the criteria above)
How would I achieve this?
I'm running Elasticsearch version 5.5
Thanks in advance!