Skip to content

Commit 2c3be12

Browse files
author
Christoph Büscher
committed
[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
1 parent bc811e3 commit 2c3be12

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/reference/aggregations/bucket/significanttext-aggregation.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,12 @@ Clients can always take the heavily-trimmed set of results from a `significant_t
334334
make a subsequent follow-up query using a `terms` aggregation with an `include` clause and child
335335
aggregations to perform further analysis of selected keywords in a more efficient fashion.
336336

337+
===== No support for nested objects
338+
339+
The significant_text aggregation currently also cannot be used with text fields in
340+
nested objects, because it works with the document JSON source. This makes this
341+
feature inefficient when matching nested docs from stored JSON given a matching
342+
Lucene docID.
337343

338344
===== Approximate counts
339345
The counts of how many documents contain a term provided in results are based on summing the samples returned from each shard and

0 commit comments

Comments
 (0)