airborne12 commented on code in PR #36144:
URL: https://github.com/apache/doris/pull/36144#discussion_r1634998711
##########
be/src/olap/rowset/segment_v2/inverted_index_writer.cpp:
##########
@@ -404,12 +404,15 @@ class InvertedIndexColumnWriterImpl : public
InvertedIndexColumnWriter {
_parser_type !=
InvertedIndexParserType::PARSER_NONE) {
// in this case stream need to delete after
add_document, because the
// stream can not reuse for different field
+ bool own_token_stream = true;
Review Comment:
yes, to make code more readable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]