Skip to content

Conversation

@qingyang-hu
Copy link
Collaborator

GODRIVER-3540

Summary

Support Prefix/Suffix/Substring Indexes.

Background & Motivation

@mongodb-drivers-pr-bot
Copy link
Contributor

mongodb-drivers-pr-bot bot commented Dec 10, 2025

🧪 Performance Results

Commit SHA: 15d2c81

The following benchmark tests for version 694314360745bf0007032fdd had statistically significant changes (i.e., |z-score| > 1.96):

Benchmark Measurement % Change Patch Value Stable Region H-Score Z-Score
BenchmarkSmallDocInsertOne total_bytes_allocated -17.5728 29825536.0000 Avg: 36184077.1429
Med: 36773964.0000
Stdev: 1808963.1430
0.8576 -3.5150
BenchmarkSmallDocInsertOne total_mem_allocs -17.2664 383527.0000 Avg: 463568.5938
Med: 473459.0000
Stdev: 26807.2411
0.8227 -2.9858
BenchmarkSmallDocInsertOne total_time_seconds -15.4345 1.0012 Avg: 1.1839
Med: 1.1847
Stdev: 0.0241
0.9299 -7.5780
BenchmarkSmallDocInsertOne allocated_bytes_per_op 0.1457 5697.0000 Avg: 5688.7143
Med: 5688.0000
Stdev: 3.9987
0.7654 2.0721

For a comprehensive view of all microbenchmark results for this PR's commit, please check out the Evergreen perf task for this patch.

@mongodb-drivers-pr-bot
Copy link
Contributor

API Change Report

./v2/mongo/options

compatible changes

(*EncryptOptionsBuilder).SetTextOptions: added
EncryptOptions.TextOptions: added
PrefixOptions: added
SubstringOptions: added
SuffixOptions: added
Text: added
TextOptions: added
TextOptionsBuilder: added

./v2/x/mongo/driver/mongocrypt/options

compatible changes

(*ExplicitEncryptionOptions).SetTextOptions: added
ExplicitEncryptionOptions.TextOptions: added
ExplicitTextOptions: added
PrefixOptions: added
SubstringOptions: added
SuffixOptions: added

@github-actions github-actions bot added the review-priority-normal Medium Priority PR for Review: within 1 business day label Dec 12, 2025
@qingyang-hu qingyang-hu force-pushed the godriver3540 branch 11 times, most recently from 5dfbb06 to 4a074c7 Compare December 17, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-priority-normal Medium Priority PR for Review: within 1 business day

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant