fix #1344 add mapping.txt
This commit is contained in:
parent
06959b290b
commit
56cb07ffa9
3 changed files with 1158 additions and 1 deletions
|
@ -8,6 +8,10 @@
|
|||
"http.cors.allow-origin":"*"}
|
||||
</property>
|
||||
<!-- Dictionaries -->
|
||||
<postConstruct name="addConfigFile">
|
||||
<arg>"fess"</arg>
|
||||
<arg>"mapping.txt"</arg>
|
||||
</postConstruct>
|
||||
<postConstruct name="addConfigFile">
|
||||
<arg>"fess"</arg>
|
||||
<arg>"synonym.txt"</arg>
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
"type": "mapping",
|
||||
"mappings_path": "${fess.dictionary.path}ja/mapping.txt"
|
||||
},
|
||||
"mapping_filter": {
|
||||
"type": "mapping",
|
||||
"mappings_path": "${fess.dictionary.path}mapping.txt"
|
||||
},
|
||||
"traditional_chinese_convert": {
|
||||
"type": "fess_traditional_chinese_convert",
|
||||
"convert_type": "t2s"
|
||||
|
@ -968,7 +972,7 @@
|
|||
"standard_analyzer": {
|
||||
"type": "custom",
|
||||
"char_filter": [
|
||||
"mapping_ja_filter"
|
||||
"mapping_filter"
|
||||
],
|
||||
"tokenizer": "unigram_synonym_tokenizer",
|
||||
"filter": [
|
||||
|
|
1149
src/main/resources/fess_indices/fess/mapping.txt
Normal file
1149
src/main/resources/fess_indices/fess/mapping.txt
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue