Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Categories Atlas Search
Created by Guest
Created on Oct 25, 2020

Allow autocomplete to work with email addresses.

At the moment, an autocomplete index does not tokenize the "@" in email addresses. So when using an autocomplete search on an email address field, the search breaks as soon as the "@" is entered. I started a thread in the community about this very issue. https://developer.mongodb.com/community/forums/t/mongo-search-autocomplete-type/10561/5
  • ADMIN RESPONSE
    Oct 18, 2025
    You can achieve this functionality by using setting the autocomplete field mapping's `analyzer` field to *lucene.keyword* (see example ( https://www.mongodb.com/docs/atlas/atlas-search/field-types/autocomplete-type/#try-an-example-for-the-fts-field-type-type ) ) or a *custom analyzer which uses the* *uaxUrlEmail tokenizer* ( https://www.mongodb.com/docs/atlas/atlas-search/analyzers/tokenizers/#std-label-uaxUrlEmail-tokenizer-ref ) *.*
  • Guest
    May 18, 2021
    This would be so useful.