Skip to content

Commit

Permalink
Pick up VectorOptions.lazy from c4Options.lazy
Browse files Browse the repository at this point in the history
  • Loading branch information
callumbirks authored and snej committed Jun 21, 2024
1 parent 312e654 commit 7d953d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LiteCore/Database/CollectionImpl.hh
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ namespace litecore {
vecOpt.minTrainingCount = c4Opt.minTrainingSize;
vecOpt.maxTrainingCount = c4Opt.maxTrainingSize;
vecOpt.probeCount = c4Opt.numProbes;
vecOpt.lazy = c4Opt.lazy;
vecOpt.validate();
} else {
error::_throw(error::InvalidParameter, "Vector index requires options");
Expand Down

0 comments on commit 7d953d8

Please sign in to comment.