Skip to content

Commit 99d0a5c

Browse files
committed
fix(search): column bulk operations search not returning results at scale (#27216)
* fix(search): column bulk operations search not returning results at scale When searching by column name pattern (e.g., "MAT") in column bulk operations, the composite aggregation returned ALL column names from matching documents, then post-filtered in Java. With 20000+ columns, the first composite page of 25 names rarely contained matches, so users saw 0 results. Switch to terms aggregation with `include` regex when a search pattern is set. This filters at the ES/OS aggregation level — only matching column names produce buckets. Two-phase approach: (1) lightweight names query to get all matching names + accurate total, (2) targeted data query with top_hits for the current page only. * test(search): add integration tests for column pattern search regex against ES (cherry picked from commit 3d88c99)
1 parent fe42adc commit 99d0a5c

5 files changed

Lines changed: 1496 additions & 318 deletions

File tree

0 commit comments

Comments
 (0)