[term] query malformed, no start_object after query name

Hi *, I have a query that should be rather simple, but for the hell of it I can't get the syntax right.
I want to multi_match on several fields, and filter the resultset on a single field:

GET _search
{
  "query": {
    "bool": {
      "must": {
        "multi_match": {
          "query": "test",
          "fields": [
            "title", "description", "tags"
          ]
        }
      },
      "filter": {
        "term": [
          {
            "user_id": 123456
          }
        ]
      }
    }
  }
}

Apparently my "filter" is malformed, but I have no idea why. What am I doing wrong?

Thanks in advance,
ngw

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.