This is an automated email from the ASF dual-hosted git repository. wusheng pushed a change to branch repair_state_tree in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
from 3f69d8c1 rollback license add ef05f8a7 Implement skipping index for stream (#665) add 709d9fd6 Merge branch 'main' into repair_state_tree No new revisions were added by this update. Summary of changes: CHANGES.md | 1 + api/proto/banyandb/database/v1/schema.proto | 1 + banyand/internal/storage/version.go | 2 +- banyand/internal/storage/versions.yml | 2 +- banyand/stream/benchmark_test.go | 7 +- banyand/stream/block.go | 44 +++- banyand/stream/block_scanner.go | 7 +- banyand/stream/block_test.go | 16 +- banyand/stream/block_writer.go | 32 ++- banyand/stream/elements.go | 2 + banyand/stream/part.go | 32 ++- banyand/stream/part_iter.go | 27 ++- banyand/stream/part_iter_test.go | 2 +- banyand/stream/query.go | 4 +- banyand/stream/query_by_idx.go | 2 +- banyand/stream/tag.go | 17 +- banyand/stream/tag_filter.go | 222 +++++++++++++++++++++ banyand/stream/tag_filter_test.go | 161 +++++++++++++++ banyand/stream/tag_metadata.go | 23 ++- banyand/stream/tag_metadata_test.go | 84 +++++--- banyand/stream/tag_test.go | 7 +- banyand/stream/tstable.go | 5 +- banyand/stream/tstable_test.go | 2 +- banyand/stream/write.go | 86 ++++++-- docs/api-reference.md | 1 + pkg/encoding/bytes.go | 10 +- pkg/encoding/dictionary.go | 2 +- pkg/filter/bloom_filter.go | 132 ++++++++++++ pkg/filter/bloom_filter_test.go | 136 +++++++++++++ pkg/index/{inverted => analyzer}/analyzer.go | 21 +- pkg/index/{inverted => analyzer}/analyzer_test.go | 4 +- pkg/index/index.go | 7 + pkg/index/inverted/inverted.go | 24 +-- pkg/index/inverted/inverted_series.go | 3 +- pkg/query/logical/stream/index_filter.go | 65 +++++- .../logical/stream/stream_plan_indexscan_local.go | 8 +- pkg/query/logical/stream/stream_plan_tag_filter.go | 13 +- pkg/query/logical/tag_filter.go | 88 ++++++-- pkg/query/model/model.go | 9 +- pkg/test/stream/testdata/index_rules/db.type.json | 2 +- .../stream/testdata/index_rules/endpoint_id.json | 2 +- .../stream/testdata/index_rules/http.method.json | 2 +- .../stream/testdata/index_rules/mq.broker.json | 2 +- pkg/test/stream/testdata/index_rules/mq.queue.json | 2 +- pkg/test/stream/testdata/index_rules/mq.topic.json | 2 +- .../stream/testdata/index_rules/status_code.json | 2 +- pkg/test/stream/testdata/index_rules/trace_id.json | 2 +- 47 files changed, 1163 insertions(+), 164 deletions(-) create mode 100644 banyand/stream/tag_filter.go create mode 100644 banyand/stream/tag_filter_test.go create mode 100644 pkg/filter/bloom_filter.go create mode 100644 pkg/filter/bloom_filter_test.go rename pkg/index/{inverted => analyzer}/analyzer.go (70%) rename pkg/index/{inverted => analyzer}/analyzer_test.go (98%)