Files
openobserve/src/service
Hengfei YangandClaude Opus 4.8 4045501d6a refactor: move bloom-filter build side to enterprise (enterprise-only) (#12546)
## Summary

Makes the compactor's bloom-filter **build side** enterprise-only by
moving it into the `o2-enterprise` crate (see
openobserve/o2-enterprise#1889). The search-side pruner and shared
`infra::bloom` SBBF support are unchanged.

- Delete `src/service/compact/bloom_build.rs` and
`src/service/tantivy/bloom_builder.rs` — they now live in
`o2_enterprise::enterprise::bloom`.
- Gate the `merge.rs` build hook behind `#[cfg(feature =
"enterprise")]`, calling
`o2_enterprise::enterprise::bloom::compact::build_for_stream`. In
non-enterprise builds the hook is a no-op.
- Drop the now-unused `get_tantivy_directory` re-export from
`grpc::storage`.

## Dependency
Requires openobserve/o2-enterprise#1889 (the enterprise build is broken
until that lands).

## Test plan
- [x] `cargo check --bin openobserve` (OSS, default features) —
warning-clean
- [x] `cargo check --bin openobserve --features enterprise` — gated call
site resolves
- [x] `cargo check -p o2_enterprise`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 06:12:32 +00:00
..
2026-06-02 03:58:01 +00:00
2026-06-02 03:58:01 +00:00
2026-06-04 16:03:14 +00:00
2026-06-04 16:03:14 +00:00
2026-06-02 03:58:01 +00:00
2026-06-02 03:58:01 +00:00
2026-06-02 03:58:01 +00:00
2026-05-20 15:03:23 +00:00
2026-06-03 05:12:57 +00:00
2026-06-04 16:03:14 +00:00
2026-05-04 10:38:41 +00:00
2026-06-04 16:03:14 +00:00
2026-06-02 03:58:01 +00:00
2026-05-04 10:38:41 +00:00
2026-06-02 03:58:01 +00:00
2026-06-04 16:03:14 +00:00