diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2020-10-06 11:10:24 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2020-10-06 11:10:24 +0200 |
commit | 43cf58d24470e3c0cc85ec43a3bf8f314cd29c99 (patch) | |
tree | e618d3e2238aaaf88dbc049b6d0e4c12dc2b547f /searchcore/src/tests/proton/matching/matching_test.cpp | |
parent | 5c4a0dab894a17b2a20a4e1b51b51d274c5c5265 (diff) |
Reuse document meta store state from prepare step instead of doing
a new lookup in btree mapping from gid to lid during live feed.
Diffstat (limited to 'searchcore/src/tests/proton/matching/matching_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/matching/matching_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/matching/matching_test.cpp b/searchcore/src/tests/proton/matching/matching_test.cpp index 0ea63bce859..22dc19167f6 100644 --- a/searchcore/src/tests/proton/matching/matching_test.cpp +++ b/searchcore/src/tests/proton/matching/matching_test.cpp @@ -198,7 +198,7 @@ struct MyWorld { const document::GlobalId &gid = docId.getGlobalId(); document::BucketId bucketId(BucketFactory::getBucketId(docId)); uint32_t docSize = 1; - metaStore.put(gid, bucketId, Timestamp(0u), docSize, i); + metaStore.put(gid, bucketId, Timestamp(0u), docSize, i, 0u); metaStore.setBucketState(bucketId, true); } } |