airborne12 opened a new pull request, #60786:
URL: https://github.com/apache/doris/pull/60786

   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Related PR: selectdb/selectdb-core#7369
   
   Problem Summary:
   
   Two test cases from selectdb/selectdb-core#7369 were missing in master. All 
functional code changes (the `explicitField` flag in `QsNode`, 
`isExplicitField()`/`setExplicitField()` methods, and the 
`expandNodeCrossFields`/`deepCopyWithField`/`setFieldOnLeaves` logic) were 
already present in master. This PR adds only the missing test coverage for the 
`lucene` + `best_fields` combination.
   
   **Tests added:**
   - `testMultiFieldExplicitFieldNotExpanded`: verifies that `field:term` 
syntax (e.g., `title:music`) is **not** expanded across the `fields` list in 
`lucene` + `best_fields` mode, matching ES `query_string` behavior.
   - `testMultiFieldMixedExplicitAndBareTerms`: verifies that an explicit field 
prefix is pinned while bare terms are expanded across fields in `lucene` + 
`best_fields` mode.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [x] Unit Test
       - [ ] Regression test
       - [ ] Manual test (add detailed scripts or steps below)
       - [x] No need to test or manual test. Explain why:
           - [x] This is a refactor/code format and no logic has been changed.
   
   - Behavior changed:
       - [x] No.
   
   - Does this need documentation?
       - [x] No.
   
   ### 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]

Reply via email to