{ "settings": { "analysis": { "filter": { "english_stop": { "type": "stop", "stopwords": "_english_" }, "english_stemmer": { "type": "stemmer", "language": "english" }, "english_possessive_stemmer": { "type": "stemmer", "language": "possessive_english" } }, "analyzer": { "autocomplete": { "tokenizer": "keyword", "filter": [ "lowercase", "nGram" ] }, "english": { "tokenizer": "standard", "filter": [ "english_possessive_stemmer", "lowercase", "english_stop", "english_stemmer" ] } } } }, "mappings": { "users": { "properties" : { "name": { "type": "string", "analyzer": "autocomplete", "include_in_all": false } } }, "pages": { "properties" : { "path": { "type": "string", "copy_to": ["path_raw", "path_ja", "path_en"], "include_in_all": false, "index": "not_analyzed" }, "path_raw": { "type": "string", "analyzer": "standard", "include_in_all": false }, "path_ja": { "type": "string", "analyzer": "kuromoji", "include_in_all": false }, "path_en": { "type": "string", "analyzer": "english", "include_in_all": false }, "body": { "type": "string", "copy_to": ["body_raw", "body_ja", "body_en"], "include_in_all": false, "index": "not_analyzed" }, "body_raw": { "type": "string", "analyzer": "standard", "include_in_all": false }, "body_ja": { "type": "string", "analyzer": "kuromoji", "include_in_all": false }, "body_en": { "type": "string", "analyzer": "english", "include_in_all": false }, "username": { "type": "string", "include_in_all": false }, "comment_count": { "type": "integer", "include_in_all": false }, "bookmark_count": { "type": "integer", "include_in_all": false }, "like_count": { "type": "integer", "include_in_all": false }, "created_at": { "type": "date", "format": "dateOptionalTime", "include_in_all": false }, "updated_at": { "type": "date", "format": "dateOptionalTime", "include_in_all": false } } } } }