Warn user when running $vectorSearch on missing vector index

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Doctrine
    • None
    • PHP Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      When running a $vectorSearch query but the index is not ready, then there is not results.

      Check class metadata before running the vector search query.

      In order to help the developer. When there is 0 results, check if the index exist and is ready and throw an exception if the index is missing.

       

      https://www.mongodb.com/docs/atlas/atlas-vector-search/vector-search-stage/#fields 

      Atlas Vector Search doesn't return results if you misspell the index name or if the specified index doesn't already exist on the cluster.

            Assignee:
            Jérôme Tamarelle
            Reporter:
            Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: