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

Add $text support to mongodb-language-model

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.6.0-dev
    • Component/s: None
    • None

      $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

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

              Created:
              Updated:
              Resolved: