{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "search": {
      "type": "object",
      "properties": {
        "pg": {
          "type": "object",
          "properties": {
            "highlightOptions": {
              "type": "object",
              "properties": {
                "useHighlight": {
                  "type": "boolean",
                  "description": "Used to enable to disable the highlight feature. The default value is true"
                },
                "maxWords": {
                  "type": "number",
                  "description": "Used to set the longest headlines to output. The default value is 35."
                },
                "minWords": {
                  "type": "number",
                  "description": "Used to set the shortest headlines to output. The default value is 15."
                },
                "shortWord": {
                  "type": "number",
                  "description": "Words of this length or less will be dropped at the start and end of a headline, unless they are query terms. The default value of three (3) eliminates common English articles."
                },
                "highlightAll": {
                  "type": "boolean",
                  "description": "If true the whole document will be used as the headline, ignoring the preceding three parameters. The default is false."
                },
                "maxFragments": {
                  "type": "number",
                  "description": "Maximum number of text fragments to display. The default value of zero selects a non-fragment-based headline generation method. A value greater than zero selects fragment-based headline generation (see the linked documentation above for more details)."
                },
                "fragmentDelimiter": {
                  "type": "string",
                  "description": "Delimiter string used to concatenate fragments. Defaults to \" ... \"."
                }
              },
              "description": "Options for configuring highlight settings See https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE"
            },
            "normalization": {
              "type": [
                "number",
                "string"
              ],
              "description": "Ranking functions use an integer bit mask to control document length impact on rank. The default value is 0"
            },
            "indexerBatchSize": {
              "type": "number",
              "description": "Batch size to use when indexing"
            }
          },
          "description": "Options for PG"
        }
      },
      "description": "Configuration options for the search plugin"
    }
  }
}
