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

[Feature]: Phrase Match Query #38930

Open
1 task done
SpadeA-Tang opened this issue Jan 2, 2025 · 0 comments
Open
1 task done

[Feature]: Phrase Match Query #38930

SpadeA-Tang opened this issue Jan 2, 2025 · 0 comments
Assignees
Labels
kind/feature Issues related to feature request from users

Comments

@SpadeA-Tang
Copy link
Contributor

SpadeA-Tang commented Jan 2, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

Not related to a problem.

Describe the solution you'd like.

I want to support phrase match query as a special type of text match query (#35922).
The syntex of using phrase match is:
phrase_match(field, 'words to match', slop)
slop is optional and is 0 if not specified.

For exmaple:

Insert  ['I like swimming and riding!']
Query: text_match(text, 'swimming riding'),         result: ['I like swimming and riding!']
Query: phrase_match(text, 'swimming riding'),       result: []
Query: phrase_match(text, 'swimming and riding'),   result: ['I like swimming and riding!']
Query: phrase_match(text, 'swimming riding', 1),    result: ['I like swimming and riding!']
Query: phrase_match(text, 'riding swimming', 1),    result: []
Query: phrase_match(text, 'riding swimming', 2),    result: []
Query: phrase_match(text, 'riding swimming', 3),    result: ['I like swimming and riding!']

Describe an alternate solution.

No response

Anything else? (Additional Context)

No response

@SpadeA-Tang SpadeA-Tang added the kind/feature Issues related to feature request from users label Jan 2, 2025
sre-ci-robot pushed a commit that referenced this issue Jan 12, 2025
The relevant issue: #38930

---------

Signed-off-by: SpadeA-Tang <[email protected]>
gifi-siby pushed a commit to gifi-siby/milvus that referenced this issue Jan 16, 2025
The relevant issue: milvus-io#38930

---------

Signed-off-by: SpadeA-Tang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Issues related to feature request from users
Projects
None yet
Development

No branches or pull requests

2 participants