You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ai...@apache.org on 2025/10/27 09:52:41 UTC
(doris) branch master updated (71486a2278a -> a42e7631ea4)
This is an automated email from the ASF dual-hosted git repository.
airborne pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
from 71486a2278a [refactor](parquet) Use column predicates to do filtering (#56904)
add a42e7631ea4 [feature](inverted index) query_v2 add regexp, wildcard, phrase query (#57007)
No new revisions were added by this update.
Summary of changes:
.../bit_set_query.h} | 14 +-
.../bit_set_scorer.h} | 16 +-
.../bit_set_weight.h} | 13 +-
.../query_v2/boolean_query/boolean_weight.h | 4 +-
.../const_score_scorer.h} | 22 +-
.../segment_v2/inverted_index/query_v2/doc_set.h | 74 +++
.../inverted_index/query_v2/intersection.cpp | 175 +++++++
.../inverted_index/query_v2/intersection.h | 59 +++
.../term_query.h => phrase_query/phrase_query.h} | 33 +-
.../query_v2/phrase_query/phrase_scorer.cpp | 188 +++++++
.../query_v2/phrase_query/phrase_scorer.h | 115 +++++
.../query_v2/phrase_query/phrase_weight.h | 81 +++
.../query_v2/phrase_query/postings_with_offset.h | 54 ++
.../bitmap_query.h => regexp_query/regexp_query.h} | 31 +-
.../query_v2/regexp_query/regexp_weight.cpp | 223 ++++++++
.../regexp_query/regexp_weight.h} | 36 +-
.../inverted_index/query_v2/segment_postings.h | 40 +-
.../query_v2/term_query/term_scorer.h | 10 +-
.../query_v2/term_query/term_weight.h | 21 +-
.../segment_v2/inverted_index/query_v2/weight.h | 22 +-
.../wildcard_query.h} | 31 +-
.../query_v2/wildcard_query/wildcard_weight.h | 62 +++
.../inverted_index/similarity/bm25_similarity.cpp | 23 +
.../inverted_index/similarity/bm25_similarity.h | 2 +
.../inverted_index/similarity/similarity.h | 2 +
be/src/vec/exprs/vsearch.cpp | 2 +-
be/src/vec/functions/function_search.cpp | 10 +-
.../inverted_index/query/query_helper_test.cpp | 4 +
.../inverted_index/query_v2/boolean_query_test.cpp | 6 +-
.../inverted_index/query_v2/intersection_test.cpp | 425 ++++++++++++++++
.../inverted_index/query_v2/phrase_query_test.cpp | 558 +++++++++++++++++++++
.../inverted_index/query_v2/regexp_query_test.cpp | 392 +++++++++++++++
.../query_v2/wildcard_query_test.cpp | 527 +++++++++++++++++++
33 files changed, 3127 insertions(+), 148 deletions(-)
copy be/src/olap/rowset/segment_v2/inverted_index/query_v2/{bitmap_query/bitmap_query.h => bit_set_query/bit_set_query.h} (73%)
rename be/src/olap/rowset/segment_v2/inverted_index/query_v2/{bitmap_query/bitmap_scorer.h => bit_set_query/bit_set_scorer.h} (87%)
rename be/src/olap/rowset/segment_v2/inverted_index/query_v2/{bitmap_query/bitmap_weight.h => bit_set_query/bit_set_weight.h} (81%)
copy be/src/olap/rowset/segment_v2/inverted_index/query_v2/{query.h => const_score_query/const_score_scorer.h} (56%)
create mode 100644 be/src/olap/rowset/segment_v2/inverted_index/query_v2/intersection.cpp
create mode 100644 be/src/olap/rowset/segment_v2/inverted_index/query_v2/intersection.h
copy be/src/olap/rowset/segment_v2/inverted_index/query_v2/{term_query/term_query.h => phrase_query/phrase_query.h} (56%)
create mode 100644 be/src/olap/rowset/segment_v2/inverted_index/query_v2/phrase_query/phrase_scorer.cpp
create mode 100644 be/src/olap/rowset/segment_v2/inverted_index/query_v2/phrase_query/phrase_scorer.h
create mode 100644 be/src/olap/rowset/segment_v2/inverted_index/query_v2/phrase_query/phrase_weight.h
create mode 100644 be/src/olap/rowset/segment_v2/inverted_index/query_v2/phrase_query/postings_with_offset.h
copy be/src/olap/rowset/segment_v2/inverted_index/query_v2/{bitmap_query/bitmap_query.h => regexp_query/regexp_query.h} (54%)
create mode 100644 be/src/olap/rowset/segment_v2/inverted_index/query_v2/regexp_query/regexp_weight.cpp
copy be/src/olap/rowset/segment_v2/inverted_index/{query/regexp_query.h => query_v2/regexp_query/regexp_weight.h} (55%)
rename be/src/olap/rowset/segment_v2/inverted_index/query_v2/{bitmap_query/bitmap_query.h => wildcard_query/wildcard_query.h} (53%)
create mode 100644 be/src/olap/rowset/segment_v2/inverted_index/query_v2/wildcard_query/wildcard_weight.h
create mode 100644 be/test/olap/rowset/segment_v2/inverted_index/query_v2/intersection_test.cpp
create mode 100644 be/test/olap/rowset/segment_v2/inverted_index/query_v2/phrase_query_test.cpp
create mode 100644 be/test/olap/rowset/segment_v2/inverted_index/query_v2/regexp_query_test.cpp
create mode 100644 be/test/olap/rowset/segment_v2/inverted_index/query_v2/wildcard_query_test.cpp
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org