mirror of https://github.com/milvus-io/milvus.git
fix: Fix in filter search result is empty if pk type is varchar (#39106)
https://github.com/milvus-io/milvus/issues/39107 Signed-off-by: sunby <sunbingyi1992@gmail.com>pull/39215/head
parent
accc9e7fbf
commit
a00ba861a4
|
@ -1215,7 +1215,7 @@ ChunkedSegmentSealedImpl::search_sorted_pk(const PkType& pk,
|
|||
var_column->GetChunk(i));
|
||||
auto offset = string_chunk->binary_search_string(target);
|
||||
for (; offset != -1 && offset < string_chunk->RowNums() &&
|
||||
var_column->RawAt(offset) == target;
|
||||
string_chunk->operator[](offset) == target;
|
||||
++offset) {
|
||||
auto segment_offset = offset + num_rows_until_chunk;
|
||||
if (condition(segment_offset)) {
|
||||
|
|
Loading…
Reference in New Issue