Skip to content

Add "operator" option for fulltext query#1622

Merged
JinHai-CN merged 4 commits intoinfiniflow:mainfrom
yangzq50:ft_op_option
Aug 9, 2024
Merged

Add "operator" option for fulltext query#1622
JinHai-CN merged 4 commits intoinfiniflow:mainfrom
yangzq50:ft_op_option

Conversation

@yangzq50
Copy link
Member

@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
@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

Comments