airborne12 opened a new pull request, #61028:
URL: https://github.com/apache/doris/pull/61028
### What problem does this PR solve?
Squashed backport of all search() function improvements and bug fixes from
master to branch-4.0.
This PR combines the following master PRs into a single backport:
| Master PR | Type | Description |
|-----------|------|-------------|
| #59747 | fix | Make AND/OR/NOT operators case-sensitive in search DSL |
| #60654 | refactor | Refactor SearchDslParser to single-phase ANTLR parsing
and fix ES compatibility issues |
| #60782 | fix | Upgrade query type for variant subcolumns with
analyzer-based indexes |
| #60784 | fix | Fix MATCH_ALL_DOCS query failing in multi-field search mode
|
| #60786 | feat | Support field-grouped query syntax field:(term1 OR term2) |
| #60790 | fix | Add searcher cache reuse and DSL result cache for search()
function |
| #60793 | fix | Fix wildcard query on variant subcolumns returning empty
results |
| #60798 | fix | Use FE-provided analyzer key for multi-index columns in
search() |
| #60814 | fix | Fix implicit conjunction incorrectly modifying preceding
term in lucene mode |
| #60834 | test | Add regression test for wildcard query on variant
subcolumns with multi-index |
| #60873 | fix | fix MATCH_ALL_DOCS losing occur attribute in multi-field
expansion |
| #60891 | fix | inject MATCH_ALL_DOCS for multi-MUST_NOT queries in lucene
mode |
### Release note
Backport search() function improvements including DSL parser refactoring,
multi-field search fixes, variant subcolumn support, query caching, and
field-grouped query syntax.
### Check List (For Author)
- Test
- [x] Regression test
- [x] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [x] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason
- Behavior changed:
- [ ] No.
- [x] Yes. New search() function features and bug fixes backported from
master.
- Does this need documentation?
- [x] No.
- [ ] Yes.
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]