spring-projects / spring-projects/spring-ai
Use of FilterExpression for multiple conditional queries
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 5
Description
how to use of FilterExpression for multiple conditional queries
Bug description
I don't know how to do a vector query with more than 3 expressions
Environment
spint ai-M6
example
For example, for the vector data stored in redis, the metadata is as follows: sourDocId value is 1, name value is bg, tags value is ["web", "local", "ali"], version value is 1.0. Then how can I query the data with sourDocId 1, name value is bg, tags value is local or ali, and version is 1.0?
Thanks very much
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are identified. Start by locating the FilterExpression entry point and Redis vector-query handling in the Spring AI repository, then reproduce the metadata example and document or verify the supported behavior for combining the requested conditions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, redis, spring
- Domain
- backend, database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100