We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31976d8 commit 59d495dCopy full SHA for 59d495d
internal/core/src/segcore/ChunkedSegmentSealedImpl.h
@@ -88,7 +88,7 @@ class ChunkedSegmentSealedImpl : public SegmentSealed {
88
FieldId field_id,
89
bool include_ngram = false) const override {
90
auto [scalar_indexings, ngram_fields] =
91
- lock(folly::wlock(scalar_indexings_), folly::wlock(ngram_fields_));
+ lock(folly::rlock(scalar_indexings_), folly::rlock(ngram_fields_));
92
if (!include_ngram) {
93
if (ngram_fields->find(field_id) != ngram_fields->end()) {
94
return {};
0 commit comments