mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-28 00:24:20 +00:00
fix: 去除无用代码
This commit is contained in:
@@ -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 —— 只贴需要替换/新增的方法
|
|
||||||
|
|
||||||
/** 文本字段:.raw(keyword 精确) + .py(拼音短语精确) + .zh(ICU+2~3gram 召回) */
|
/** 文本字段:.raw(keyword 精确) + .py(拼音短语精确) + .zh(ICU+2~3gram 召回) */
|
||||||
private Property textWithRawAndPinyin() {
|
private Property textWithRawAndPinyin() {
|
||||||
return Property.of(p ->
|
return Property.of(p ->
|
||||||
|
|||||||
Reference in New Issue
Block a user