-
Notifications
You must be signed in to change notification settings - Fork 842
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add metadataFieldsToFilter property for MongoDB store
Introduce a new property for the MongoDB vector store: spring.ai.vectorstore.mongodb.metadata-fields-to-filter This property accepts comma-separated values specifying which metadata fields can be used for filtering when querying the vector store. It ensures that metadata indexes are created if they don't already exist. This addition enhances query performance and flexibility by allowing users to define filterable fields in advance. Co-authored-by: Eddú Meléndez <eddu.melendez@gmail.com>
- Loading branch information
1 parent
8b019c5
commit 8d31a57
Showing
4 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters