qidaye commented on code in PR #40314:
URL: https://github.com/apache/doris/pull/40314#discussion_r1743606869


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/EsTable.java:
##########
@@ -52,7 +52,9 @@
 @Getter
 @Setter
 public class EsTable extends Table implements GsonPostProcessable {
-    public static final Set<String> DEFAULT_DOCVALUE_DISABLED_FIELDS = new 
HashSet<>(Collections.singletonList("text"));
+    // refrence: 
https://www.elastic.co/guide/en/elasticsearch/reference/current/doc-values.html
+    public static final Set<String> DEFAULT_DOCVALUE_DISABLED_FIELDS =
+            new HashSet<>(Arrays.asList("text", "annotated_text"));

Review Comment:
   `match_only_text`'s behavior is the same with `text` and should be included 
in here.



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to