-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Component/s: Client Side Encryption
-
None
-
Needed
-
Summary
Add "prefix" and "suffix" QE query types, and rename APIs from "text" to "string".
Motivation
This is a continuation of work done in DRIVERS-3227. Text indexes are currently documented as experimental.
Renaming "text" to "string" is intended to avoid confusion with existing MongoDB text search.
Quoting Queryable Encryption Biweekly Sync notes:
need to ensure we don’t use “Text search” in public APIs
Though the renames break API, QE Text is documented as:
These features are unstable and their security is not guaranteed until released as Generally Available (GA). The GA version of these features may not be backwards compatible with the preview version.
Who is the affected end user?
Users of QE wanting to use text indexes in production.
Is this issue urgent?
Planned for server 9.0. See Initiative Plan: Queryable Encryption under 3.24
Acceptance Criteria
- Add "suffix" and "prefix" in the specification and document as stable.
- Rename "textPreview" to "string" for "suffix" and "prefix".
- Rename "TextOpts" to "StringOpts".
- Upgrade libmongocrypt with needed protocol changes (MONGOCRYPT-856 +
MONGOCRYPT-937). - Continue to support "prefixPreview" and "suffixPreview" on older servers. These will be dropped in DRIVERS-3548.
- depends on
-
MONGOCRYPT-870 Drop suffixPreview and prefixPreview
-
- Closed
-
-
MONGOCRYPT-937 Restore QE text preview
-
- Closed
-
- is related to
-
DRIVERS-3476 Support exact text queries for explicit encryption
-
- Backlog
-
-
MONGOCRYPT-937 Restore QE text preview
-
- Closed
-
-
DRIVERS-3227 Support text indexes with auto encryption
-
- Implementing
-
-
DRIVERS-3441 Update libmongocrypt URLs for 1.18.0+
-
- Implementing
-
- related to
-
DRIVERS-3470 QE - Case and diacritic sensitivity not honoured for explicit encryption
-
- Implementing
-
-
DRIVERS-3489 Spec analysis: client-side-encryption — missing tests, ambiguities, inconsistencies
-
- Backlog
-
-
DRIVERS-3540 Add "substring" to QE GA
-
- Blocked
-
-
JAVA-6184 Skip QE "prefixPreview" and "suffixPreview" tests on server 9.0.0+
-
- Closed
-
-
DRIVERS-3461 Skip QE "prefixPreview" and "suffixPreview" tests on server 9.0.0+
-
- Implementing
-
-
DRIVERS-3548 Drop prefixPreview, suffixPreview, and substringPreview
-
- Backlog
-
- split to
-
PYTHON-5799 Add QE prefix+suffix GA and rename API to string
-
- Backlog
-
-
GODRIVER-3863 Add QE prefix+suffix GA and rename API to string
-
- Backlog
-
-
RUBY-3805 Add QE prefix+suffix GA and rename API to string
-
- Backlog
-
-
CXX-3467 Add QE prefix+suffix GA and rename API to string
-
- Backlog
-
-
RUST-2402 Add QE prefix+suffix GA and rename API to string
-
- Ready for Work
-
-
PHPLIB-1827 Add QE prefix+suffix GA and rename API to string
-
- Ready for Work
-
-
JAVA-6168 Add QE prefix+suffix GA and rename API to string
-
- In Progress
-
-
CDRIVER-6293 Add QE prefix+suffix GA and rename API to string
-
- In Progress
-
-
CSHARP-5984 Add QE prefix+suffix GA and rename API to string
-
- Closed
-
-
NODE-7537 Add QE prefix+suffix GA and rename API to string
-
- In Progress
-