Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
cc134a1
[improvement](inverted index) Push the candidate row bitmap down into…
airborne12 Aug 26, 2026
6dae89b
[improvement](inverted index) Address review: real norm source, refre…
airborne12 Aug 26, 2026
41613b0
[improvement](inverted index) Address review: consumption-keyed cache…
airborne12 Aug 27, 2026
0542dc7
[fix](inverted index) Fix compound candidate safety and phrase-prefix…
airborne12 Aug 30, 2026
56c8e9b
[fix](inverted index) Include late scan restrictions in phrase candid…
airborne12 Aug 30, 2026
b9264c0
[fix](inverted index) Refresh phrase candidates after expression filt…
airborne12 Sep 9, 2026
3a2a065
[test](regression) Decouple variant index assertions from pruning order
airborne12 Sep 11, 2026
40b4879
[fix](test) Drop the unused protected macro from the candidate pushdo…
airborne12 Sep 18, 2026
cbde3db
[improvement](inverted index) Push candidate rows down into SNII phra…
airborne12 Sep 18, 2026
fb36f14
[test](inverted index) Add phrase candidate pushdown benchmark and re…
airborne12 Sep 18, 2026
16a4917
[improvement](inverted index) Address review: nested SEARCH suppressi…
airborne12 Sep 18, 2026
0c3a1ef
[refactor](be) Share query kernels and stage dictionary reads
airborne12 Sep 20, 2026
0033372
[refactor](be) Account for query read buffers and dictionary pins
airborne12 Sep 20, 2026
680c35d
[refactor](be) Reserve dictionary wave decode workspace
airborne12 Sep 20, 2026
30aeba6
[refactor](be) Retain dictionary result memory reservations
airborne12 Sep 20, 2026
0023365
[refactor](be) Share index query read batching primitives
airborne12 Sep 20, 2026
00d9756
[refactor](be) Admit multi-reader query waves before reading
airborne12 Sep 21, 2026
8b6fc67
[refactor](be) Share dictionary waves across index readers
airborne12 Sep 21, 2026
ba0117f
[refactor](be) Retain admitted read buffers across query waves
airborne12 Sep 21, 2026
3846eb4
[refactor](be) Admit posting directory memory before decoding
airborne12 Sep 21, 2026
0611436
[chore](be) Name the error codes olap_meta.cpp uses instead of import…
airborne12 Sep 22, 2026
4d52525
[refactor](be) Lower SEARCH clauses to a logical query IR shared by e…
airborne12 Sep 22, 2026
21278b0
[refactor](snii) Run caller-analyzed terms through SniiIndexReader::q…
airborne12 Sep 22, 2026
b66d726
[refactor](be) Compile SEARCH leaves through one leaf compiler per bo…
airborne12 Sep 22, 2026
c705e53
[test](search) Add a V2/SNII parity regression for the SEARCH lowering
airborne12 Sep 22, 2026
6b95833
[refactor](be) Read ranges within a per-wave gap together in IoBatch
airborne12 Sep 22, 2026
680c9fb
[refactor](be) Add a format-independent chained conjunction
airborne12 Sep 22, 2026
41f3a38
[test](snii) Pin the documents, sources and reads of the SNII chained…
airborne12 Sep 22, 2026
0079614
[refactor](snii) Run the SNII conjunction through the shared chained …
airborne12 Sep 22, 2026
dc4a0d8
[improvement](search) Count a TERM threshold once above the field's i…
airborne12 Sep 23, 2026
24741a6
[test](search) Add a whole-query SEARCH benchmark over V2 and SNII
airborne12 Sep 23, 2026
2b8e411
[improvement](snii) Intersect interleaved dense windows through a bitset
airborne12 Sep 23, 2026
06dafbc
[improvement](search) Answer term clauses of one SNII field in one query
airborne12 Sep 23, 2026
dd9b3d0
[improvement](search) Leave out optional clauses an unscored SEARCH n…
airborne12 Sep 23, 2026
cd92c53
[improvement](search) Run the clauses of a SEARCH conjunction within …
airborne12 Sep 23, 2026
960625e
[improvement](snii) Resolve the terms of an SNII query in batched dic…
airborne12 Sep 23, 2026
37de4d8
[improvement](snii) Resolve the terms of SNII candidate scoring in ba…
airborne12 Sep 23, 2026
3c21dac
[refactor](inverted index) Drop the duplicate term resolution and ext…
airborne12 Sep 23, 2026
616bf61
[test](search) Add phrase-only cases to the SEARCH benchmark
airborne12 Sep 23, 2026
0e34f76
[refactor](inverted index) Verify SNII and query_v2 phrases with one …
airborne12 Sep 23, 2026
873dac2
[improvement](search) Evaluate an unscored AND's children within the …
airborne12 Sep 23, 2026
e9de587
[test](search) Add expansion cases to the SEARCH benchmark
airborne12 Sep 24, 2026
4e186c8
[fix](search) Match a SEARCH REGEXP against whole terms on every inde…
airborne12 Sep 24, 2026
a64da75
[refactor](inverted index) Expand PREFIX, WILDCARD and REGEXP terms w…
airborne12 Sep 24, 2026
021f330
[fix](search) Normalize SEARCH PREFIX and WILDCARD values as Elastics…
airborne12 Sep 24, 2026
93baedf
[fix](search) Evaluate lucene-mode SEARCH Booleans with Elasticsearch…
airborne12 Sep 24, 2026
8bccac0
[test](inverted index) Pin MATCH answers on V2 and SNII before T11b
airborne12 Sep 24, 2026
d5721b7
[refactor](inverted index) Lower MATCH to the logical IR and run SNII…
airborne12 Sep 24, 2026
b6b174d
[feature](inverted index) Let query_v2 phrases take a slop, an order …
airborne12 Sep 24, 2026
902cb48
[refactor](inverted index) Place MATCH tokens by their order in the l…
airborne12 Sep 24, 2026
a207d5f
[improvement](inverted index) Speed up query_v2 for unscored and cand…
airborne12 Sep 24, 2026
ec4657c
[refactor](inverted index) Run MATCH on CLucene analyzed indexes thro…
airborne12 Sep 24, 2026
3c2da46
[refactor](inverted index) Run MATCH on CLucene keyword indexes throu…
airborne12 Sep 24, 2026
fe42a86
[test](inverted index) Check the shared sloppy matcher against frozen…
airborne12 Sep 24, 2026
5861981
[refactor](inverted index) Run index_tool's match_all and the compact…
airborne12 Sep 24, 2026
0f0b829
[refactor](inverted index) Delete the legacy CLucene MATCH executors
airborne12 Sep 24, 2026
697b537
[refactor](inverted index) Run MATCH_PHRASE_EDGE through the logical …
airborne12 Sep 25, 2026
c9d27e5
[refactor](inverted index) Run MATCH and SEARCH leaves of both format…
airborne12 Sep 28, 2026
78a8af2
[improvement](inverted index) Let the SEARCH DSL cache serve fields o…
airborne12 Sep 28, 2026
68df3e7
[test](inverted index) Benchmark warm-cache hits and count-only scans…
airborne12 Sep 28, 2026
8d0e6e5
[refactor](inverted index) Delete the query memory admission accounti…
airborne12 Sep 28, 2026
d7265f5
[refactor](inverted index) Delete the uncalled SNII scoring oracle, h…
airborne12 Sep 28, 2026
b05518d
[refactor](inverted index) Open SEARCH's CLucene searchers through th…
airborne12 Sep 28, 2026
e51fa6a
[chore](inverted index) Guard the shared query layer against the inde…
airborne12 Sep 28, 2026
1416f20
[refactor](inverted index) Add the SNII postings cursor over the shar…
airborne12 Sep 29, 2026
28be800
[refactor](inverted index) Read every index through IndexSource in qu…
airborne12 Sep 29, 2026
5af16fa
[refactor](inverted index) Compile SEARCH's unscored SNII leaves lazi…
airborne12 Sep 29, 2026
a82600e
[refactor](inverted index) Batch the shared engine's reads for SNII S…
airborne12 Sep 29, 2026
1aad34b
[refactor](inverted index) Run MATCH's unscored SNII leaves on the sh…
airborne12 Sep 29, 2026
3c72976
[refactor](inverted index) Score SNII's MATCH leaves on the shared en…
airborne12 Sep 30, 2026
2fe191f
[refactor](inverted index) Chain unscored term-set conjunctions on bo…
airborne12 Sep 30, 2026
43ccfd7
[refactor](inverted index) Delete the SNII query executors and the ea…
airborne12 Sep 30, 2026
1c18387
[refactor](inverted index) Drop the SNII profile counters only its ex…
airborne12 Sep 30, 2026
aa14d59
[test](inverted index) Gate the reader benchmark's docid samples on t…
airborne12 Sep 30, 2026
f5a7e19
[improvement](inverted index) Stream heavy exact phrase positions on …
airborne12 Oct 1, 2026
3bb35c2
[improvement](inverted index) Match streamed phrase positions a chunk…
airborne12 Oct 2, 2026
19fe8ad
[refactor](inverted index) Delete the sorted docid set operations lef…
airborne12 Oct 2, 2026
90ceb62
[test](inverted index) Guard the dictionary wave byte bound and the m…
airborne12 Oct 2, 2026
c90e7f3
[test](inverted index) Let the SEARCH benchmark run over NULL rows
airborne12 Oct 2, 2026
19c6d08
[improvement](inverted index) Cut the CLucene cursor's per-document p…
airborne12 Oct 2, 2026
f99d9cc
[improvement](inverted index) Free an SNII read round with the cursor…
airborne12 Oct 3, 2026
97497e6
[improvement](inverted index) Read expansions and term sets a wave of…
airborne12 Oct 3, 2026
2a990e9
[improvement](inverted index) Gather a large phrase slot's positions …
airborne12 Oct 3, 2026
5c7bcf0
[chore](inverted index) Merge master into the query engine unification
airborne12 Oct 4, 2026
b3b38fd
[improvement](inverted index) Score a disjunction a term at a time an…
airborne12 Oct 4, 2026
2ea12bb
[chore](inverted index) Merge current master before publishing the sh…
airborne12 Oct 5, 2026
0b7f793
[refactor](inverted index) Remove unused eager leaf planning
airborne12 Oct 5, 2026
ccb031a
[fix](inverted index) Defer expansion reads and bound sparse scoring …
airborne12 Oct 5, 2026
a81cab1
[fix](inverted index) Simplify term leaves and phrase cursor advancement
airborne12 Oct 5, 2026
29af03b
[fix](inverted index) Reduce shared query traversal and cursor overhead
airborne12 Oct 5, 2026
063d72d
[refactor](inverted index) Share phrase verification and simplify cur…
airborne12 Oct 6, 2026
cf865e4
[refactor](be) Reuse retained positions in shared phrase matching
airborne12 Oct 6, 2026
7ccd012
[fix](be) Preserve logical selection in full SNII position decoding
airborne12 Oct 6, 2026
78bba14
[fix](be) Preserve segment candidates before reading phrase postings
airborne12 Oct 6, 2026
6bc6d58
[fix](be) Collect unified queries in the global document domain
airborne12 Oct 6, 2026
a08c05b
[fix](be) Keep CLucene partition traversal inside the postings adapter
airborne12 Oct 6, 2026
37c1d20
[refactor](be) Keep CLucene partitions in one postings cursor
airborne12 Oct 6, 2026
c0ecd63
[refactor](be) Retain batched read buffers through owned views
airborne12 Oct 6, 2026
89c7a1a
[test](regression) Cover global document IDs across text indexes
airborne12 Oct 6, 2026
9601bbf
[refactor](be) Remove redundant work in text index adapters
airborne12 Oct 7, 2026
b3e894a
[refactor](be) Combine streamed document advancement
airborne12 Oct 7, 2026
10d5d6f
[refactor](be) Own query cache keys in one encoded buffer
airborne12 Oct 7, 2026
cef1b0a
[refactor](be) Remove redundant PRX position skip wrapper
airborne12 Oct 7, 2026
a8ed35a
[refactor](be) Share bulk term and root expansion collection
airborne12 Oct 8, 2026
8b9ed59
[refactor](be) Skip finishing completed phrase position streams
airborne12 Oct 8, 2026
5533f17
[test](regression) Wait for complete SEARCH profiles
airborne12 Oct 8, 2026
9e971e5
[refactor](be) Collect listed phrase rows without scorer wrappers
airborne12 Oct 8, 2026
068bffc
[refactor](be) Keep query coalescing scoped to SNII
airborne12 Oct 8, 2026
0b11ed9
[refactor](be) Skip query-cache keys without a consumer
airborne12 Oct 8, 2026
4d4b324
[refactor](be) Avoid unused state in MATCH lowering
airborne12 Oct 9, 2026
0c4aaba
[improvement](be) Shorten the text index query path for point lookups
airborne12 Oct 10, 2026
535fd30
[refactor](be) Merge SEARCH leaf compilers into function_search_leaf
airborne12 Oct 12, 2026
27992eb
[refactor](be) Organize inverted index sources by responsibility
airborne12 Oct 12, 2026
a2b69ab
[refactor](be) Complete inverted index layout boundaries
airborne12 Oct 12, 2026
c90cee7
[fix](be) Declare the SNII dictionary block registration inline for GCC
airborne12 Oct 13, 2026
2c83e70
[fix](be) Normalize SEARCH prefixes and wildcards like the index terms
airborne12 Oct 13, 2026
a48a4b6
[fix](be) Key the SEARCH DSL cache by the expansion limit
airborne12 Oct 13, 2026
d431688
[fix](be) Stream the scored OR terms of a TopK SEARCH
airborne12 Oct 13, 2026
fd861bd
[fix](be) Share the postings of repeated phrase terms
airborne12 Oct 13, 2026
06be247
[fix](build) Ban the CLucene umbrella header in the inverted index qu…
airborne12 Oct 13, 2026
c8a2b32
[chore](be) Fix paths and includes left by the inverted index layout
airborne12 Oct 13, 2026
0750c73
[fix](be) Apply the index character filter when normalizing for custo…
airborne12 Oct 13, 2026
7b6a05b
[fix](be) Refuse SEARCH on a segment written as a gram index
airborne12 Oct 13, 2026
e399277
[chore](inverted index) Merge master into the query engine unification
airborne12 Oct 13, 2026
64ecd91
[test](be) Spell out kuromoji terms in the normalization test
airborne12 Oct 13, 2026
1d781d7
[fix](be) Read only the selected windows of an SNII posting
airborne12 Oct 13, 2026
522ca4c
[fix](be) Read the keyword phrase slop when MATCH_PHRASE reads the co…
airborne12 Oct 14, 2026
9173b57
[fix](be) Keep the index of the clause a SEARCH Boolean shrinks to
airborne12 Oct 14, 2026
802d64a
[test](be) Draw the sloppy phrase test cases the same way on every st…
airborne12 Oct 14, 2026
f48b3e8
[fix](be) Make index_tool MATCH_ALL run and fail when it cannot read …
airborne12 Oct 14, 2026
750d2f2
[fix](be) Keep the UNKNOWN rows of NULL fields in SEARCH
airborne12 Oct 15, 2026
504596c
[fix](be) Keep the UNKNOWN rows of NULL fields in SEARCH TERM thresholds
airborne12 Oct 15, 2026
891428c
[fix](be) Keep block-max WAND for a SEARCH TopK over a two-valued root
airborne12 Oct 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .clang-format-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ be/src/util/sse2neo.h
be/src/util/sse2neon.h
be/src/util/mustache/mustache.h
be/src/util/mustache/mustache.cc
be/src/storage/index/inverted/analyzer/kuromoji/dict/darts.h
be/src/storage/index/inverted/analysis/analyzer/kuromoji/dict/darts.h
cloud/src/common/defer.h
3 changes: 1 addition & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ fe/fe-core/src/main/java/org/apache/doris/fs @CalvinKirs @924060929
fe/fe-core/src/main/java/org/apache/doris/fsv2 @CalvinKirs
be/src/olap/rowset/segment_v2/variant @eldenmoon @csun5285
be/src/storage/index/inverted/ @airborne12 @eldenmoon @csun5285
be/src/exprs/function/function_search.h @airborne12 @eldenmoon @csun5285
be/src/exprs/function/function_search.cpp @airborne12 @eldenmoon @csun5285
be/src/exprs/function/search/ @airborne12 @eldenmoon @csun5285
be/src/exprs/function/match.cpp @airborne12 @eldenmoon @csun5285
be/src/exprs/function/match.h @airborne12 @eldenmoon @csun5285
be/src/exprs/vsearch.h @airborne12 @eldenmoon @csun5285
Expand Down
2 changes: 1 addition & 1 deletion .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ header:
- "be/src/util/mustache/mustache.h"
- "be/src/util/sse2neo.h"
- "be/src/util/sse2neon.h"
- "be/src/storage/index/inverted/analyzer/kuromoji/dict/darts.h"
- "be/src/storage/index/inverted/analysis/analyzer/kuromoji/dict/darts.h"
- "be/src/pch/*"
- "be/test/data"
- "be/test/expected_result"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ be/src/olap/skiplist.h : BSD-style license

--------------------------------------------------------------------------------

be/src/storage/index/inverted/analyzer/kuromoji/dict/darts.h : 2-Clause BSD license (darts-clone)
be/src/storage/index/inverted/analysis/analyzer/kuromoji/dict/darts.h : 2-Clause BSD license (darts-clone)

Copyright (c) 2008-2014 Susumu Yata. All rights reserved.
Vendored from https://github.com/s-yata/darts-clone
Expand Down
2 changes: 1 addition & 1 deletion NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ This software includes third party software subject to the following copyrights:
- Jackson-dataformat-cbor - https://github.com/FasterXML/jackson-dataformats-binary
- Darts-clone (double-array trie) - Copyright 2008-2014 Susumu Yata - https://github.com/s-yata/darts-clone (BSD 2-clause)
- mecab-ipadic (IPADIC) Japanese morphological dictionary - Copyright 2000-2003 Nara Institute of Science and Technology (NAIST) - licensed under NAIST-2003 (BSD-style); the kuromoji analyzer bundles the UTF-8 form from https://github.com/lindera/mecab-ipadic (content of mecab-ipadic-2.7.0-20070801).
- Apache Lucene - https://github.com/apache/lucene (Apache-2.0): the kuromoji Japanese analyzer under be/src/storage/index/inverted/analyzer/kuromoji is an independent C++ implementation modeled on Lucene's kuromoji analyzer (JapaneseTokenizer), including its search-mode compound-decomposition cost model.
- Apache Lucene - https://github.com/apache/lucene (Apache-2.0): the kuromoji Japanese analyzer under be/src/storage/index/inverted/analysis/analyzer/kuromoji is an independent C++ implementation modeled on Lucene's kuromoji analyzer (JapaneseTokenizer), including its search-mode compound-decomposition cost model.

The licenses for these third party components are included in LICENSE.txt

Expand Down
2 changes: 1 addition & 1 deletion be/benchmark/benchmark_gram_extractor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <string_view>
#include <vector>

#include "storage/index/inverted/gram/gram_extractor.h"
#include "storage/index/inverted/analysis/gram/gram_extractor.h"

namespace doris::segment_v2::gram::benchmark_detail {

Expand Down
2 changes: 1 addition & 1 deletion be/src/cloud/cloud_schema_change_job.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "common/status.h"
#include "service/backend_options.h"
#include "storage/delete/delete_handler.h"
#include "storage/index/inverted/inverted_index_desc.h"
#include "storage/index/inverted/common/inverted_index_desc.h"
#include "storage/olap_define.h"
#include "storage/rowset/beta_rowset.h"
#include "storage/rowset/rowset.h"
Expand Down
2 changes: 1 addition & 1 deletion be/src/cloud/cloud_tablet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#include "io/cache/block_file_cache_factory.h"
#include "storage/compaction/compaction.h"
#include "storage/compaction/cumulative_compaction_time_series_policy.h"
#include "storage/index/inverted/inverted_index_desc.h"
#include "storage/index/inverted/common/inverted_index_desc.h"
#include "storage/olap_define.h"
#include "storage/rowset/beta_rowset.h"
#include "storage/rowset/rowset.h"
Expand Down
2 changes: 1 addition & 1 deletion be/src/cloud/cloud_warm_up_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#include "runtime/cluster_info.h"
#include "runtime/exec_env.h"
#include "service/backend_options.h"
#include "storage/index/inverted/inverted_index_desc.h"
#include "storage/index/inverted/common/inverted_index_desc.h"
#include "storage/rowset/beta_rowset.h"
#include "storage/tablet/tablet.h"
#include "util/brpc_client_cache.h" // BrpcClientCache
Expand Down
1 change: 0 additions & 1 deletion be/src/exec/operator/olap_scan_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ Status OlapScanLocalState::_init_profile() {
_index_filter_profile = std::make_unique<RuntimeProfile>("IndexFilter");
_scanner_profile->add_child(_index_filter_profile.get(), true, nullptr);
_snii_prx_profile_counters.initialize(_index_filter_profile.get());
_snii_phrase_profile_counters.initialize(_index_filter_profile.get());
/*
SegmentIterator:
- AnnIndexLoadCosts: 102.262us
Expand Down
3 changes: 1 addition & 2 deletions be/src/exec/operator/olap_scan_operator.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "exec/operator/scan_operator.h"
#include "exec/runtime_filter/runtime_filter_bucket_pruner.h"
#include "runtime/runtime_profile.h"
#include "storage/index/snii/snii_prx_profile.h"
#include "storage/index/inverted/snii/snii_prx_profile.h"
#include "storage/olap_scan_common.h"
#include "storage/tablet/tablet_reader.h"

Expand Down Expand Up @@ -160,7 +160,6 @@ class OlapScanLocalState final : public ScanLocalState<OlapScanLocalState> {
std::unique_ptr<RuntimeProfile> _segment_profile;
std::unique_ptr<RuntimeProfile> _index_filter_profile;
snii::SniiPrxRuntimeProfileCounters _snii_prx_profile_counters;
snii::SniiPhraseRuntimeProfileCounters _snii_phrase_profile_counters;

RuntimeProfile::Counter* _condition_cache_lookup_counter = nullptr;
RuntimeProfile::Counter* _tablet_counter = nullptr;
Expand Down
9 changes: 5 additions & 4 deletions be/src/exec/scan/olap_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include "exec/common/variant_util.h"
#include "exec/operator/olap_scan_operator.h"
#include "exec/scan/scan_node.h"
#include "exprs/function/search/search_predicate_collector.h"
#include "exprs/vexpr.h"
#include "exprs/vexpr_context.h"
#include "io/cache/block_file_cache_profile.h"
Expand All @@ -54,8 +55,8 @@
#include "service/backend_options.h"
#include "storage/binlog.h"
#include "storage/id_manager.h"
#include "storage/index/inverted/inverted_index_profile.h"
#include "storage/index/inverted/similarity/collection_statistics.h"
#include "storage/index/inverted/common/inverted_index_profile.h"
#include "storage/index/inverted/reader/collection_statistics.h"
#include "storage/iterator/block_reader.h"
#include "storage/olap_common.h"
#include "storage/olap_tuple.h"
Expand Down Expand Up @@ -278,7 +279,8 @@ Status OlapScanner::_prepare_impl() {

if (_tablet_reader_params.score_runtime) {
SCOPED_TIMER(local_state->_statistics_collect_timer);
_tablet_reader_params.collection_statistics = std::make_shared<CollectionStatistics>();
_tablet_reader_params.collection_statistics = std::make_shared<CollectionStatistics>(
std::make_unique<SearchPredicateCollector>());

auto io_ctx = build_score_runtime_collection_io_context(
_state, _tablet_reader_params.reader_type, tablet->file_cache_ttl_expiration_time(),
Expand Down Expand Up @@ -884,7 +886,6 @@ void OlapScanner::_collect_profile_before_close() {
stats.inverted_index_analyzer_timer);
COUNTER_UPDATE(local_state->_inverted_index_lookup_timer, stats.inverted_index_lookup_timer);
local_state->_snii_prx_profile_counters.update(stats);
local_state->_snii_phrase_profile_counters.update(stats);
COUNTER_UPDATE(local_state->_variant_scan_sparse_column_timer,
stats.variant_scan_sparse_column_timer_ns);
COUNTER_UPDATE(local_state->_variant_scan_sparse_column_bytes,
Expand Down
2 changes: 1 addition & 1 deletion be/src/exprs/function/array/function_array_index.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include "exprs/expr_zonemap_filter.h"
#include "exprs/function/function.h"
#include "storage/index/index_reader_helper.h"
#include "storage/index/inverted/inverted_index_query_type.h"
#include "storage/index/inverted/common/inverted_index_query_type.h"
#include "storage/index/inverted/inverted_index_reader.h"
#include "storage/predicate/column_predicate.h"

Expand Down
1 change: 0 additions & 1 deletion be/src/exprs/function/function_multi_match.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "exprs/function/simple_function_factory.h"
#include "exprs/vslot_ref.h"
#include "io/fs/file_reader.h"
#include "storage/index/inverted/query/phrase_prefix_query.h"
#include "storage/segment/segment_iterator.h"

namespace doris {
Expand Down
Loading
Loading