mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-06 23:21:16 +08:00
fix: 去除无用代码
This commit is contained in:
@@ -52,8 +52,6 @@ public class SearchIndexInitializer {
|
||||
}
|
||||
}
|
||||
|
||||
// SearchIndexInitializer.java —— 只贴需要替换/新增的方法
|
||||
|
||||
private TypeMapping postMapping() {
|
||||
return TypeMapping.of(builder ->
|
||||
builder
|
||||
@@ -123,8 +121,6 @@ public class SearchIndexInitializer {
|
||||
);
|
||||
}
|
||||
|
||||
// SearchIndexInitializer.java —— 只贴需要替换/新增的方法
|
||||
|
||||
/** 文本字段:.raw(keyword 精确) + .py(拼音短语精确) + .zh(ICU+2~3gram 召回) */
|
||||
private Property textWithRawAndPinyin() {
|
||||
return Property.of(p ->
|
||||
|
||||
Reference in New Issue
Block a user