How to query against `stringFacet`

{
  "mappings": {
    "dynamic": false,
    "fields": {
      "colorsOfTheRainbow": {
        "type": ["stringFacet", "string"]
      }, 
    }
  }
}

Does something like this work?

(edited to fix syntax)