While Queryable Encryption equality and range queries are fully supported in production, prefix, suffix, and substring queries are only available in public preview in MongoDB 8.2. Do not enable these query types in production. GA functionality of prefix, suffix and substring query types will be incompatible with the preview feature.
This page summarizes the tasks required to create a Queryable Encryption-enabled collection, insert a document with encrypted fields, and query encrypted data.
Enable Queryable Encryption
Before encrypting and querying data, you must install a Queryable Encryption-enabled driver and libraries, create a Customer Master Key, and create your application. See Overview: Enable Queryable Encryption for instructions.