Skip to content

tag settings

David Balash edited this page Mar 9, 2018 · 1 revision
{
   "number_of_replicas" : 2,
   "index.mapper.dynamic": false,
   "analysis": {
     "filter": {
       "field_ngram_filter": {
         "type": "edgeNGram",
         "min_gram": 4,
         "max_gram": 16,
         "side": "front"
       }
     },
     "analyzer": {
       "field_default_analyzer": {
         "type": "custom",
         "tokenizer": "classic",
         "filter": [
           "lowercase",
           "asciifolding",
           "stop"
         ]
       },
       "field_shingle_analyzer": {
         "type": "custom",
         "tokenizer": "classic",
         "filter": [
           "lowercase",
           "asciifolding",
           "shingle",
           "stop"
         ]
       },
       "field_snowball_analyzer": {
         "type": "custom",
         "tokenizer": "classic",
         "filter": [
           "lowercase",
           "asciifolding",
           "snowball",
           "stop"
         ]
       },
       "field_ngram_analyzer": {
         "type": "custom",
         "tokenizer": "classic",
         "filter": [
           "stop",
           "lowercase",
           "asciifolding",
           "field_ngram_filter"
         ]
       }
     }
   }
 }
 
Clone this wiki locally