Add support for custom operators to SearchDefinitionBuilder

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Atlas Search, Builders
    • None
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      While https://jira.mongodb.org/browse/CSHARP-4927 isn't done (and any future added operators to Atlas Search), it would be helpful to have a "Custom" operator method on SearchDefinitionBuilder that takes

      • string operatorName
      • BsonDocument properties

      and adds it to the SearchDefinition in the Filter/Must/etc as desired so we don't have to convert our entire query to BsonDocument or a JSON string.

      It would make later migration to official helpers more easy.

            Assignee:
            Boris Dogadov
            Reporter:
            Fred Morel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: