Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-413

Add $text support to mongodb-language-model

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 1.6.0-dev
    • None
    • None

    Description

      $text support is not yet implemented in the language model, and therefore validation for such queries fails.

      We should at least add basic support (without all the text search options) so that the majority of queries succeed.

      https://github.com/mongodb-js/mongodb-language-model/blob/master/src/grammar.pegjs#L22-L35

      Attachments

        Activity

          People

            Unassigned Unassigned
            thomas.rueckstiess@mongodb.com Thomas Rueckstiess
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: