Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33389

aggregate function similar to regex replace

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
      None

      Description

      can we add a feature like regex replace which will find all occurrences of a regex pattern in a string field, and replace them with something generic. example use case -" replace all telephone numbers in a error message with X so that all of them can be group in a single bucket"

      as of now i think there is no way of doing it other than handling it in client code.Please correct me if there is something already available that i am not aware of,

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kelsey.schubert Kelsey T Schubert
              Reporter:
              sourav_biswas@cable.comcast.com Sourav Biswas
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: