mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-16 15:07:36 -07:00
65 lines
1,006 B
JSON
65 lines
1,006 B
JSON
{
|
|
"settings": {
|
|
"analysis": {
|
|
"analyzer": {
|
|
"bigram": {
|
|
"tokenizer": "bigram_tokenizer"
|
|
}
|
|
},
|
|
"tokenizer": {
|
|
"bigram_tokenizer": {
|
|
"type": "nGram",
|
|
"min_gram": 2,
|
|
"max_gram": 2,
|
|
"token_chars": [
|
|
"letter",
|
|
"digit"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"mappings": {
|
|
"user": {
|
|
"properties": {
|
|
"username": {
|
|
"type": "string",
|
|
"index": "analyzed",
|
|
"analyzer": "bigram"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"index": "analyzed",
|
|
"analyzer": "bigram"
|
|
},
|
|
"bio": {
|
|
"type": "string",
|
|
"index": "analyzed",
|
|
"analyzer": "kuromoji"
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"properties": {
|
|
"text": {
|
|
"type": "string",
|
|
"index": "analyzed",
|
|
"analyzer": "kuromoji"
|
|
}
|
|
}
|
|
},
|
|
"drive_file": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"index": "analyzed",
|
|
"analyzer": "kuromoji"
|
|
},
|
|
"user": {
|
|
"type": "string",
|
|
"index": "not_analyzed"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|