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

Add "operator" option for fulltext query #1622

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

yangzq50
Copy link
Contributor

@yangzq50 yangzq50 commented Aug 8, 2024

What problem does this PR solve?

Add "operator" option for fulltext query

if add "operator=or" in query option:

  • usual query syntax will not be considered
  • all words in query string will be combined by "OR" operator and produce a query task

if add "operator=and" in query option:

  • usual query syntax will not be considered
  • all words in query string will be combined by "AND" operator and produce a query task

This option is useful if users want to use query strings like "A01-233:BC\等等"

Type of change

  • New Feature (non-breaking change which adds functionality)
  • Refactoring
  • Test cases

@yangzq50 yangzq50 added the ci PR can be test label Aug 8, 2024
@yangzq50 yangzq50 added wip work in progress and removed ci PR can be test labels Aug 8, 2024
@yangzq50 yangzq50 force-pushed the ft_op_option branch 2 times, most recently from 7a31e8a to 5e20e0d Compare August 9, 2024 03:49
@yangzq50 yangzq50 added ci PR can be test and removed wip work in progress labels Aug 9, 2024
@yangzq50 yangzq50 force-pushed the ft_op_option branch 2 times, most recently from de889c6 to 1042581 Compare August 9, 2024 06:08
@JinHai-CN JinHai-CN merged commit e12f9ba into infiniflow:main Aug 9, 2024
3 checks passed
@yingfeng yingfeng mentioned this pull request Aug 9, 2024
79 tasks
@yangzq50 yangzq50 deleted the ft_op_option branch August 14, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci PR can be test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants