mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
fix: use not retried err when get wrong parameter (#37707)
#37508 Signed-off-by: lixinguo <xinguo.li@zilliz.com> Co-authored-by: lixinguo <xinguo.li@zilliz.com>
This commit is contained in:
parent
e4b6773d0a
commit
7999367c0c
@ -51,7 +51,11 @@ FieldMeta::enable_analyzer() const {
|
|||||||
|
|
||||||
TokenizerParams
|
TokenizerParams
|
||||||
FieldMeta::get_analyzer_params() const {
|
FieldMeta::get_analyzer_params() const {
|
||||||
Assert(enable_analyzer());
|
if (!enable_analyzer()) {
|
||||||
|
PanicInfo(
|
||||||
|
Unsupported,
|
||||||
|
fmt::format("unsupported text index when not enable analyzer"));
|
||||||
|
}
|
||||||
auto params = string_info_->params;
|
auto params = string_info_->params;
|
||||||
return ParseTokenizerParams(params);
|
return ParseTokenizerParams(params);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user