Skip to content

RUST-2402 QE string API GA#1727

Draft
abr-egn wants to merge 3 commits into
mongodb:mainfrom
abr-egn:RUST-2402/qe-prefix-suffix-redux
Draft

RUST-2402 QE string API GA#1727
abr-egn wants to merge 3 commits into
mongodb:mainfrom
abr-egn:RUST-2402/qe-prefix-suffix-redux

Conversation

@abr-egn

@abr-egn abr-egn commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

RUST-2402

This marks the string (nee textPreview) algorithm and related methods GA, removing the need for the text-indexes-unstable feature. A bunch of the tests had their predicate swapped from <9.0 to >=9.0, and a few need special handling to make sure things still work with the preview names.

pub struct TextOptions {
pub struct StringOptions {
/// Options for substring queries.
/// NOTE: substring is currently unstable API and subject to backwards breaking changes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hypothetically this could get its own gating feature flag, but that doesn't seem worth it for a single field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant