mirror of
https://github.com/typesense/typesense.git
synced 2025-05-22 06:40:30 +08:00
Fix using seq_id instead of kv->key
This commit is contained in:
parent
8eb38883b5
commit
e747b53257
@ -3221,7 +3221,7 @@ Option<bool> Index::search(std::vector<query_tokens_t>& field_query_tokens, cons
|
||||
auto seq_id = vec_result.first;
|
||||
KV* found_kv = nullptr;
|
||||
for(auto& kv : kvs) {
|
||||
if(kv->seq_id == seq_id) {
|
||||
if(kv->key == seq_id) {
|
||||
found_kv = kv;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user