Filter terms multiple integer filters?

Hi,

i can do multiple filter terms on a query like this

  "filter": {
    "terms": {
      "categories": [
        [
          "boats",
          "cars"
        ]
      ]
    }
  }

it works !

but if i do the same with integer like year, it doesn't work, got a parse
error

SearchPhaseExecutionException[Failed to execute phase [query], all shards
failed;

  "filter": {
    "terms": {
      "anneeGuide": [
        [
          "2012",
          "2014"
        ]
      ]
    }
  }

how to do this ?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/986f395f-9f9c-4c2f-82be-6b699dd50d9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.