Add support for "flat" indexing method in vector search index definitions

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: AI/ML, django
    • 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

      Context

      What is a flat vector search index?

      What ODMs or Frameworks do we need to ensure support of this tool?

      For the Python ecosystem owned by Python Integrations, we should ensure indexingMethod (including "flat") can be specified wherever users define vector search indexes:

      • Django integration (component on this ticket): Django MongoDB / Atlas Vector Search integration must allow configuring indexingMethod on vector fields in index definitions (either as a first-class option or via pass-through kwargs).
      • LangChain MongoDB integration (MongoDBAtlasVectorSearch): INTPYTHON-285 already added generic kwargs support to create_vector_search_index; we should explicitly verify and document that indexingMethod="flat" can be passed through unchanged.
        • Potentially filled through pymongo-search-utils.

      Acceptance Criteria

      • API support in the Django Integration with documentation and a reach out to PM team for a potential GTM push
      • API support in the LangChain MongoDB Integration with a reach out to the PM team for a potential GTM push

            Assignee:
            Jib Adegunloye
            Reporter:
            TPM Jira Automations Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: