-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
I have a requirement of caching fqueries inside a bool should/must filter. Example: I want to produce the following ES query string using Nest. I've used term and wildcard queries simply as placeholders here. They can be any generic queries.
"filter": {
"bool": {
"must": [
{
"fquery": {
"query": {
"term": {
"field1": {
"value": "value1"
}
}
},
"_cache": true
}
},
{
"fquery": {
"query": {
"wildcard": {
"field2": {
"value": "value2"
}
}
},
"_cache": true
}
}
]
}
}
I could not find any Nest documentation around this and in Nest code I only found how to cache the entire bool query but not individual fqueries.
Metadata
Metadata
Assignees
Labels
No labels