wuyunfeng commented on a change in pull request #3305: Add field context for string field keyword type URL: https://github.com/apache/incubator-doris/pull/3305#discussion_r407048747
########## File path: fe/src/main/java/org/apache/doris/planner/EsScanNode.java ########## @@ -123,6 +123,9 @@ protected void toThrift(TPlanNode msg) { if (table.isDocValueScanEnable()) { esScanNode.setDocvalue_context(table.docValueContext()); } + if (table.isKeywordSniffEnable() && table.fieldsContext().size() > 0) { Review comment: 这两个是一样的,第一个条件是用户主动配置的,第二个目前代码都是这么写的^o^ ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org