Filter terms aggregation on array field

I was not correct. I found a solution.

GET /test-index/_search
{
  "query":{
    "bool": {
      "filter":[{
        "terms": {
          "authors": [
            "1",
            "2"
          ]
        }
      }],
      "must_not": [
        {
          "regexp": {
            "authors": "~(1|2)"
          }
        }
      ]
    }
  }
}