Skip to content

fix(operator): prevent KeywordSearch operator from running with an empty keywords field#4277

Open
seongjinyoon wants to merge 1 commit intoapache:mainfrom
seongjinyoon:fix/keyword-search
Open

fix(operator): prevent KeywordSearch operator from running with an empty keywords field#4277
seongjinyoon wants to merge 1 commit intoapache:mainfrom
seongjinyoon:fix/keyword-search

Conversation

@seongjinyoon
Copy link
Contributor

What changes were proposed in this PR?

The Keyword Search operator could be executed even when the keywords field was left empty.
The fix adds a minimum length for the keywords field marking the operator as invalid when the field is empty.

Before:
Screenshot 2026-03-09 at 5 45 01 PM

After:
Screenshot 2026-03-09 at 6 09 56 PM

Any related issues, documentation, discussions?

#3046

How was this PR tested?

Manually tested.

Was this PR authored or co-authored using generative AI tooling?

Revised using Claude Code.

@chenlica
Copy link
Contributor

@Xiao-zhen-Liu Please review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants