aboutsummaryrefslogtreecommitdiffstats
path: root/search-data-service-app/src/main/resources/json/schema/analyzer.schema.json
blob: 7592ee92ef0c28c742509d2a408fd2d69f88c291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Analyzer",
  "description": "The analyzer aggregates a tokenizer and multiple filters to describe how an input stream should be indexed.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "behaviours": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "tokenizer": {
      "type": "string"
    },
    "filters": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}