Shinsuke Sugaya 6 rokov pred
rodič
commit
191c416f6f

+ 1 - 1
src/main/resources/esclient.xml

@@ -114,7 +114,7 @@
 		</postConstruct>
 		<postConstruct name="addConfigFile">
 			<arg>"fess"</arg>
-			<arg>"ko/seunjeon.txt"</arg>
+			<arg>"ko/nori.txt"</arg>
 		</postConstruct>
 		<postConstruct name="addConfigFile">
 			<arg>"fess"</arg>

+ 2 - 3
src/main/resources/fess_indices/fess.json

@@ -665,9 +665,8 @@
         },
         "korean_tokenizer": {
             "type": "fess_korean_tokenizer",
-            "index_eojeol": false,
-            "pos_tagging": false,
-            "user_dict_path": "${fess.dictionary.path}ko/seunjeon.txt"
+            "decompound_mode": "mixed",
+            "user_dict_path": "${fess.dictionary.path}ko/nori.txt"
         },
         "simplified_chinese_tokenizer": {
             "type": "fess_simplified_chinese_tokenizer"

+ 3 - 0
src/main/resources/fess_indices/fess/ko/nori.txt

@@ -0,0 +1,3 @@
+덕후
+버카충
+낄끼빠빠

+ 0 - 4
src/main/resources/fess_indices/fess/ko/seunjeon.txt

@@ -1,4 +0,0 @@
-덕후
-버카충
-낄끼+빠빠
-C\+\+

+ 2 - 3
src/main/resources/suggest_indices/suggest_analyzer.json

@@ -14,9 +14,8 @@
       },
       "fess_korean_normal": {
         "type": "fess_korean_tokenizer",
-        "index_eojeol": false,
-        "pos_tagging": false,
-        "user_dict_path": "${fess.dictionary.path}ko/seunjeon.txt"
+        "decompound_mode": "mixed",
+        "user_dict_path": "${fess.dictionary.path}ko/nori.txt"
       }
     },
     "analyzer" : {