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

Support Turkish rules for case folding in $regex

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Text Search
    • Labels:
      None

      Description

      Original summary

      Case Sensitivity Mistake – i-İ

      Original Description

      Example data:

      { "_id" : ObjectId("562395d2f4ac61190f8b463a"), "category_name" : "İçme Suları ve Kaynak Suları", "category_name_en" : "Water - Bottled & Bulk" }

      db.categories.find({category_name:{ $regex: 'İçme', $options: 'i'}})
      One result found. it is works well

      However

      When i swap capital İ with small i,i received no result.

      db.categories.find({category_name:{ $regex: 'içme', $options: 'i'}})
      no result.

      The problem might be because of incompability of turkish characters .

      King Regards ,

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated: