airborne12 opened a new pull request, #59766: URL: https://github.com/apache/doris/pull/59766
## Summary Cherry-pick PR #58545 to branch-4.0. This PR implements ES-like boolean query for inverted index, including: **Source files:** - OccurBooleanQuery and related classes for ES-style MUST/SHOULD/MUST_NOT - OperatorBooleanQuery refactored to separate file - DisjunctionScorer, ExcludeScorer, ReqOptScorer implementations - BufferedUnion for efficient union operations - Updated intersection and segment_postings APIs **Unit tests:** - boolean_query_builder_test.cpp - buffered_union_test.cpp - disjunction_scorer_test.cpp - exclude_scorer_test.cpp - occur_boolean_query_test.cpp - reqopt_scorer_test.cpp - Updated existing test files ## Test plan - [x] BE unit tests compile successfully - [x] Unit tests pass verification Related PR: #58545 🤖 Generated with [Claude Code](https://claude.ai/code) -- 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]
