Doctrine ODM: Support Vector Search index and stage

XMLWordPrintableJSON

    • Type: Epic
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Doctrine
    • None
    • Doctrine ODM: Support Vector Search index and stage
    • PHP Drivers
    • 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?
    • In Progress
    • 5
    • 2
    • 5
    • 100
    • 0
    • 馃煛 Potential Risk
    • Hide

      Engineers: J茅r么me Tamarelle

      2025-09-26:

      • Completed in the last two weeks
        • Add support for field names mapping from class metadata to DB field names. In both Search and Vector Search indexes and aggregations.
        • Setup Atlas Local in GitHub Actions to run search tests
        • Add a method to wait for search indexes to be fully ready
      • Focus for the next two weeks
        • Support BinaryVector, once PHPC-2474 is released.
        • Write documentation
      • Impediments encountered over the last two weeks
        • Update to PHPStan that required fixing static analysis
      Show
      Engineers: J茅r么me Tamarelle 2025-09-26: Completed in the last two weeks Add support for field names mapping from class metadata to DB field names. In both Search and Vector Search indexes and aggregations. Setup Atlas Local in GitHub Actions to run search tests Add a method to wait for search indexes to be fully ready Focus for the next two weeks Support BinaryVector, once PHPC-2474 is released. Write documentation Impediments encountered over the last two weeks Update to PHPStan that required fixing static analysis
    • Hide

      2025-09-26 - 馃煛 Potential Risk
      Engineers: J茅r么me Tamarelle

      2025-09-26:

      • Completed in the last two weeks
        • Add support for field names mapping from class metadata to DB field names. In both Search and Vector Search indexes and aggregations.
        • Setup Atlas Local in GitHub Actions to run search tests
        • Add a method to wait for search indexes to be fully ready
      • Focus for the next two weeks
        • Support BinaryVector, once PHPC-2474 is released.
        • Write documentation
      • Impediments encountered over the last two weeks
        • Update to PHPStan that required fixing static analysis

      2025-09-26 - 馃煝 On Track
      Engineers: J茅r么me Tamarelle

      2025-09-26:

      • Completed in the last two weeks
        • Add support for field names mapping from class metadata to DB field names. In both Search and Vector Search indexes and aggregations.
        • Setup Atlas Local in GitHub Actions to run search tests
        • Add a method to wait for search indexes to be fully ready
      • Focus for the next two weeks
        • Support BinaryVector, once PHPC-2474 is released.
        • Write documentation
      • Impediments encountered over the last two weeks
        • Update to PHPStan that required fixing static analysis

      2025-09-17 - 馃敶 Status Update Needed


      2025-09-05 - 馃煝 On Track
      Engineers: J茅r么me Tamarelle

      2025-09-05:

      • Completed in the last two weeks
        • Added metadata for vector search index management in doctrine ODM PHPORM-381, pending review
      • Focus for the next two weeks
        • Finish metadata after review
        • Add $vectorSearch stage to the aggregation builder PHPORM-382
        • Documentation on the Doctrine website PHPORM-346
      • Impediments encountered over the last two weeks
        • J茅r么me is speaker at a conference on September 18, he will not work on this project during 1 week聽
        • Documentation on the Doctrine website PHPORM-346
      • Impediments encountered over the last two weeks
        • J茅r么me is speaker at a conference on September 18, he will not work on this project during 1 week聽

      Show
      2025-09-26 - 馃煛 Potential Risk Engineers: J茅r么me Tamarelle 2025-09-26: Completed in the last two weeks Add support for field names mapping from class metadata to DB field names. In both Search and Vector Search indexes and aggregations. Setup Atlas Local in GitHub Actions to run search tests Add a method to wait for search indexes to be fully ready Focus for the next two weeks Support BinaryVector, once PHPC-2474 is released. Write documentation Impediments encountered over the last two weeks Update to PHPStan that required fixing static analysis 2025-09-26 - 馃煝 On Track Engineers: J茅r么me Tamarelle 2025-09-26: Completed in the last two weeks Add support for field names mapping from class metadata to DB field names. In both Search and Vector Search indexes and aggregations. Setup Atlas Local in GitHub Actions to run search tests Add a method to wait for search indexes to be fully ready Focus for the next two weeks Support BinaryVector, once PHPC-2474 is released. Write documentation Impediments encountered over the last two weeks Update to PHPStan that required fixing static analysis 2025-09-17 - 馃敶 Status Update Needed 2025-09-05 - 馃煝 On Track Engineers: J茅r么me Tamarelle 2025-09-05: Completed in the last two weeks Added metadata for vector search index management in doctrine ODM PHPORM-381 , pending review Focus for the next two weeks Finish metadata after review Add $vectorSearch stage to the aggregation builder PHPORM-382 Documentation on the Doctrine website PHPORM-346 Impediments encountered over the last two weeks J茅r么me is speaker at a conference on September 18, he will not work on this project during 1 week聽 Documentation on the Doctrine website PHPORM-346 Impediments encountered over the last two weeks J茅r么me is speaker at a conference on September 18, he will not work on this project during 1 week聽
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Summary

      Doctrine ODM supports Atlas Search indexes, but vector indexes cannot be used.

      Add Vector type to search indexes and VectorSearch stage.

      Motivation

      Who is the affected end user?

      Developers using Symfony to build AI applications with vectors.

      How does this affect the end user?

      Make it easy to use mongodb vector search and stages in the application

      How likely is it that this problem or use case will occur?

      Main path? Edge case?

      If the problem does occur, what are the consequences and how severe are they?

      Currently, developers have to implement their own vector search layer, or use the raw MongoDB client instead of Doctrine metadata.

      Is this issue urgent?

      No

      Is this ticket required by a downstream team?

      No

      Is this ticket only for tests?

      No

      Cast of Characters

      Engineering Lead: Andr
      Document Author:
      POCers:
      Product Owner:
      Program Manager:
      Stakeholders:

      Channels & Docs

      Slack Channel

      Scope document: https://docs.google.com/document/d/1f_RldisOqbVWogojEk_eajcMhDFWLWhLqpCH4LSlXAY/edit?tab=t.0

      Technical design included in the scope document.

            Assignee:
            Unassigned
            Reporter:
            J茅r么me Tamarelle
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              None
              None