Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Duplicate example in Vector Databases documentation #2563

Merged
merged 1 commit into from
Apr 1, 2025

Conversation

yybmion
Copy link
Contributor

@yybmion yybmion commented Mar 24, 2025

Issue

(Fixes #2562)

I noticed a duplicate example in the Vector Databases documentation. In the section about filter operators (IN, NIN, NOT), the example shown is identical to an earlier example and doesn't actually demonstrate these operators.

Changes

Replace the duplicate example with one that properly demonstrates the IN, NOT, and other operators:

Expression exp = b.and(b.in("genre", "drama", "documentary"), b.not(b.lt("year", 2020))).build();

@ilayaperumalg ilayaperumalg self-assigned this Apr 1, 2025
@ilayaperumalg ilayaperumalg added vector store documentation Improvements or additions to documentation labels Apr 1, 2025
@ilayaperumalg ilayaperumalg added this to the 1.0.0-M7 milestone Apr 1, 2025
@ilayaperumalg
Copy link
Member

@yybmion Thanks for fixing the example.

@ilayaperumalg ilayaperumalg merged commit 77e87cc into spring-projects:main Apr 1, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation vector store
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix duplicate example in Vector Databases documentation
2 participants