瀏覽代碼

[Docs] Add note on limitation for significant_text with nested objects (#28052)

Add section to `significant_text` documentation mentioning that it currently
does not support use on nested objects.

Relates to #28050
Christoph Büscher 7 年之前
父節點
當前提交
556d77c9ad
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/reference/aggregations/bucket/significanttext-aggregation.asciidoc

+ 6 - 0
docs/reference/aggregations/bucket/significanttext-aggregation.asciidoc

@@ -334,6 +334,12 @@ Clients can always take the heavily-trimmed set of results from a `significant_t
 make a subsequent follow-up query using a `terms` aggregation with an `include` clause and child
 aggregations to perform further analysis of selected keywords in a more efficient fashion.
 
+===== No support for nested objects
+
+The significant_text aggregation currently also cannot be used with text fields in
+nested objects, because it works with the document JSON source. This makes this
+feature inefficient when matching nested docs from stored JSON given a matching
+Lucene docID.
 
 ===== Approximate counts
 The counts of how many documents contain a term provided in results are based on summing the samples returned from each shard and