How to query against `stringFacet`

Alright, well this is embarrassing but I finally believe I have the right syntax, I tested it and ran a query with it and it worked.

{
  "mappings": {
    "dynamic": true,
    "fields": {
      "title": [
        {
          "analyzer": "lucene.english",
          "type": "string"
        },
        {
          "type": "stringFacet"
        }
      ]
    }
  }
}
1 Like