first commit
This commit is contained in:
31
resources/mpoint_search_setting.json
Normal file
31
resources/mpoint_search_setting.json
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
"settings": {
|
||||
"analysis": {
|
||||
"analyzer": {
|
||||
"char_analyzer": {
|
||||
"char_filter": [
|
||||
"split_by_whitespace_filter"
|
||||
],
|
||||
"tokenizer": "whitespace"
|
||||
}
|
||||
},
|
||||
"char_filter": {
|
||||
"split_by_whitespace_filter": {
|
||||
"type": "pattern_replace",
|
||||
"pattern": "(.+?)",
|
||||
"replacement": "$1 "
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mappings": {
|
||||
"like_search_type": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "text",
|
||||
"analyzer": "char_analyzer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user