| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- {
- "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
- }
- }
- }
- }
- }
|