You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "airborne12 (via GitHub)" <gi...@apache.org> on 2026/03/04 02:27:34 UTC

[PR] [fix](search) Backport search() function improvements and bug fixes [doris]

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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] branch-4.0: [fix](search) Backport search() function improvements and bug fixes [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #61028:
URL: https://github.com/apache/doris/pull/61028#issuecomment-3996317363

   # BE UT Coverage Report
   Increment line coverage `26.91% (81/301)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/f18a2b37e32cfb50fc72d12a61dd194f04532271_f18a2b37e32cfb50fc72d12a61dd194f04532271/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/f18a2b37e32cfb50fc72d12a61dd194f04532271_f18a2b37e32cfb50fc72d12a61dd194f04532271/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 53.00% (19150/36132) |
   | Line Coverage     | 36.18% (178299/492808) |
   | Region Coverage   | 32.74% (138090/421753) |
   | Branch Coverage   | 33.73% (60003/177869) |


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] branch-4.0: [fix](search) Backport search() function improvements and bug fixes [doris]

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei commented on PR #61028:
URL: https://github.com/apache/doris/pull/61028#issuecomment-3996700657

   run p0


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] branch-4.0: [fix](search) Backport search() function improvements and bug fixes [doris]

Posted by "airborne12 (via GitHub)" <gi...@apache.org>.
airborne12 commented on PR #61028:
URL: https://github.com/apache/doris/pull/61028#issuecomment-3994844278

   run buildall


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](search) Backport search() function improvements and bug fixes [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #61028:
URL: https://github.com/apache/doris/pull/61028#issuecomment-3994836988

   
   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR).
   
   Please clearly describe your PR:
   1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
   2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
   3. What features were added. Why was this function added?
   4. Which code was refactored and why was this part of the code refactored?
   5. Which functions were optimized and what is the difference before and after the optimization?
       


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] branch-4.0: [fix](search) Backport search() function improvements and bug fixes [doris]

Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #61028:
URL: https://github.com/apache/doris/pull/61028#issuecomment-3994951731

   # Cloud UT Coverage Report
   Increment line coverage ` ` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/24ce49d19be1157a9c2158872f63d93ec9696ce9_24ce49d19be1157a9c2158872f63d93ec9696ce9_cloud/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/24ce49d19be1157a9c2158872f63d93ec9696ce9_24ce49d19be1157a9c2158872f63d93ec9696ce9_cloud/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 79.14% (1787/2258) |
   | Line Coverage     | 64.67% (31894/49318) |
   | Region Coverage   | 65.49% (15956/24365) |
   | Branch Coverage   | 56.05% (8490/15148) |


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] branch-4.0: [fix](search) Backport search() function improvements and bug fixes [doris]

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei merged PR #61028:
URL: https://github.com/apache/doris/pull/61028


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] branch-4.0: [fix](search) Backport search() function improvements and bug fixes [doris]

Posted by "airborne12 (via GitHub)" <gi...@apache.org>.
airborne12 commented on PR #61028:
URL: https://github.com/apache/doris/pull/61028#issuecomment-3995471246

   run buildall


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] branch-4.0: [fix](search) Backport search() function improvements and bug fixes [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #61028:
URL: https://github.com/apache/doris/pull/61028#issuecomment-3995562454

   # Cloud UT Coverage Report
   Increment line coverage ` ` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/f18a2b37e32cfb50fc72d12a61dd194f04532271_f18a2b37e32cfb50fc72d12a61dd194f04532271_cloud/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/f18a2b37e32cfb50fc72d12a61dd194f04532271_f18a2b37e32cfb50fc72d12a61dd194f04532271_cloud/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 79.14% (1787/2258) |
   | Line Coverage     | 64.67% (31896/49318) |
   | Region Coverage   | 65.49% (15956/24365) |
   | Branch Coverage   | 56.10% (8498/15148) |


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org