fix: 去除无用代码

This commit is contained in:
Tim
2025-09-28 17:58:58 +08:00
parent e3f680ad0f
commit b0597d34b6
@@ -52,8 +52,6 @@ public class SearchIndexInitializer {
} }
} }
// SearchIndexInitializer.java —— 只贴需要替换/新增的方法
private TypeMapping postMapping() { private TypeMapping postMapping() {
return TypeMapping.of(builder -> return TypeMapping.of(builder ->
builder builder
@@ -123,8 +121,6 @@ public class SearchIndexInitializer {
); );
} }
// SearchIndexInitializer.java —— 只贴需要替换/新增的方法
/** 文本字段:.rawkeyword 精确) + .py(拼音短语精确) + .zhICU+2~3gram 召回) */ /** 文本字段:.rawkeyword 精确) + .py(拼音短语精确) + .zhICU+2~3gram 召回) */
private Property textWithRawAndPinyin() { private Property textWithRawAndPinyin() {
return Property.of(p -> return Property.of(p ->