Skip to main content
indent json so as to improve post visibility
Source Link
user3775217
  • 4.8k
  • 1
  • 26
  • 33

Try this instead:

       {
 "bool": {
          "must_not":[
            [{
              "nested": {
                "path": "fixed_fields",
                "filter": {
                  "term": {
                    "fixed_fields.id": 38
                  }
                }
              }
            }
          ]
        }
}

Try this instead:

        "bool":{
          "must_not":[
            {
              "nested":{
                "path":"fixed_fields",
                "filter":{
                  "term":{
                    "fixed_fields.id":38
                  }
                }
              }
            }
          ]
        }

Try this instead:

{
 "bool": {
    "must_not": [{
        "nested": {
            "path": "fixed_fields",
            "filter": {
                "term": {
                    "fixed_fields.id": 38
                }
            }
        }
    }]
  }
}
Source Link
Val
  • 218.5k
  • 14
  • 377
  • 384

Try this instead:

        "bool":{
          "must_not":[
            {
              "nested":{
                "path":"fixed_fields",
                "filter":{
                  "term":{
                    "fixed_fields.id":38
                  }
                }
              }
            }
          ]
        }