Fix searching for frame_arms (#1061)
Just mapping '_' to ' ' for both search and indexing
Cette révision appartient à :
Parent
7788a018f5
révision
ca87b242ae
1 fichiers modifiés avec 7 ajouts et 0 suppressions
|
@ -10,6 +10,7 @@ settings:
|
|||
- standard
|
||||
- lowercase
|
||||
char_filter:
|
||||
- underscore_to_space
|
||||
- dash_to_underscore
|
||||
|
||||
nyaapantsu_index_analyzer:
|
||||
|
@ -19,6 +20,7 @@ settings:
|
|||
- lowercase
|
||||
- e_ngram_filter
|
||||
char_filter:
|
||||
- underscore_to_space
|
||||
- dash_to_underscore
|
||||
|
||||
filter:
|
||||
|
@ -33,6 +35,11 @@ settings:
|
|||
pattern: "([^\\s]+)-(?=[^\\s]+)"
|
||||
replacement: "$1_"
|
||||
|
||||
underscore_to_space:
|
||||
type: mapping
|
||||
mappings:
|
||||
- "_ => \\u0020"
|
||||
|
||||
index:
|
||||
number_of_shards: 1
|
||||
number_of_replicas: 0
|
||||
|
|
Référencer dans un nouveau ticket