MongoDBStructuredQueryTranslator()Translator between MongoDB Query API and LangChain's StructuredQuery.
With Vector Search Indexes, one can index boolean, date, number, objectId, string, and UUID fields to pre-filter your data. Filtering your data is useful to narrow the scope of your semantic search and ensure that not all vectors are considered for comparison. It reduces the number of documents against which to run similarity comparisons, which can decrease query latency and increase the accuracy of search results.