mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
Fix fill the string field twice when string index exists (#21852)
Signed-off-by: yah01 <yang.cen@zilliz.com>
This commit is contained in:
parent
09124f87ae
commit
43d633cfed
@ -552,7 +552,8 @@ func (s *Segment) fillIndexedFieldsData(ctx context.Context, collectionID Unique
|
|||||||
for _, fieldData := range result.FieldsData {
|
for _, fieldData := range result.FieldsData {
|
||||||
// If the vector field doesn't have indexed. Vector data is in memory for
|
// If the vector field doesn't have indexed. Vector data is in memory for
|
||||||
// brute force search. No need to download data from remote.
|
// brute force search. No need to download data from remote.
|
||||||
if !s.hasLoadIndexForIndexedField(fieldData.FieldId) {
|
if fieldData.GetType() != schemapb.DataType_FloatVector && fieldData.GetType() != schemapb.DataType_BinaryVector ||
|
||||||
|
!s.hasLoadIndexForIndexedField(fieldData.FieldId) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user