Hi @amyjian ,

This is my atlas search

{
  "mappings": {
    "dynamic": false,
    "fields": {
      "barcodes": {
        "fields": {
          "barcode": [
            {
              "dynamic": true,
              "type": "document"
            },
            {
              "maxGrams": 13,
              "minGrams": 3,
              "tokenization": "nGram",
              "type": "autocomplete"
            }
          ]
        },
        "type": "document"
      },
      "externalId": [
        {
          "maxGrams": 20,
          "minGrams": 3,
          "tokenization": "nGram",
          "type": "autocomplete"
        }
      ],
      "isActive": [
        {
          "type": "boolean"
        }
      ],
      "itemGroups": [
        {
          "dynamic": true,
          "type": "document"
        },
        {
          "maxGrams": 20,
          "minGrams": 3,
          "tokenization": "nGram",
          "type": "autocomplete"
        }
      ],
      "name": [
        {
          "maxGrams": 20,
          "minGrams": 3,
          "tokenization": "nGram",
          "type": "autocomplete"
        },
        {
          "normalizer": "lowercase",
          "type": "token"
        }
      ],
      "searchTerms": [
        {
          "dynamic": true,
          "type": "document"
        },
        {
          "maxGrams": 20,
          "minGrams": 3,
          "tokenization": "nGram",
          "type": "autocomplete"
        }
      ]
    }
  }
}

The problem is in the itemGroups

image

When the itemgroup contains an entry with and & in it the search fails.
What I want to achieve is to search on the full string of the itemGroups.

Regards

Ad