-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature](invert index) match_phrase_prefix feature added #27404
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
|
||
#pragma once | ||
|
||
#include <CLucene.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: 'CLucene.h' file not found [clang-diagnostic-error]
#include <CLucene.h>
^
|
||
#pragma once | ||
|
||
#include <CLucene.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: 'CLucene.h' file not found [clang-diagnostic-error]
#include <CLucene.h>
^
|
||
#pragma once | ||
|
||
#include <CLucene.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: 'CLucene.h' file not found [clang-diagnostic-error]
#include <CLucene.h>
^
@@ -479,6 +489,24 @@ Status FullTextIndexReader::match_all_index_search( | |||
return Status::OK(); | |||
} | |||
|
|||
Status FullTextIndexReader::match_phrase_prefix_index_search( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: method 'match_phrase_prefix_index_search' can be made static [readability-convert-member-functions-to-static]
Status FullTextIndexReader::match_phrase_prefix_index_search( | |
static Status FullTextIndexReader::match_phrase_prefix_index_search( |
|
||
String get_name() const override { return name; } | ||
|
||
Status execute_match(const std::string& column_name, const std::string& match_query_str, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: method 'execute_match' can be made static [readability-convert-member-functions-to-static]
Status execute_match(const std::string& column_name, const std::string& match_query_str, | |
static Status execute_match(const std::string& column_name, const std::string& match_query_str, |
be/src/vec/functions/match.h:141:
- ColumnUInt8::Container& result) const override {
+ ColumnUInt8::Container& result) override {
TeamCity be ut coverage result: |
91370c9
to
aea4ecf
Compare
run buildall |
TeamCity be ut coverage result: |
(From new machine)TeamCity pipeline, clickbench performance test result: |
TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
|
InvertedIndexCtx* inverted_index_ctx, | ||
const ColumnArray::Offsets64* array_offsets, | ||
ColumnUInt8::Container& result) const override { | ||
return Status::Error<ErrorCode::INVERTED_INDEX_NOT_SUPPORTED>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may be we need to support
aea4ecf
to
310062b
Compare
run buildall |
(From new machine)TeamCity pipeline, clickbench performance test result: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by anyone and no changes requested. |
310062b
to
ca62633
Compare
ca62633
to
dc1fd8d
Compare
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
(From new machine)TeamCity pipeline, clickbench performance test result: |
TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
|
…7404) select count() from test_index_match_phrase_prefix where request match_phrase_prefix 'xxx';
Proposed changes
select count() from test_index_match_phrase_prefix where request match_phrase_prefix 'xxx';
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...