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 Jun 22, 2021

Reverse Search using edgeGram in autocomplete searches

For searching on the last few characters of a field's values, currently the only option available is to create a nGram or need to create a custom analyzer with regex split/capture group. As lucene internally has the reverse option available, can we have reverse flag provided with edgeGram to perform searches from the end? Use case: Lets suppose the field is tokenNumber and we usually search by the last 5 digits of the tokenNumber itself.
  • ADMIN RESPONSE
    Oct 18, 2025
    We recently released support for this feature in our latest autocomplete improvements: https://docs.atlas.mongodb.com/reference/atlas-search/autocomplete/