You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update significant_text aggregation to only parse the field it requires from _source (#79651)
Previously created optimizations:
- Enabling XContentParser filtering for specific fields: #77154
- Retrieving only specific fields from _source: #79099
Allow significant_text to only parse out the specific field it requires from `_source`. This allows for a minor optimization when `_source` is small, but can be significant (pun intended) when `_source` contains many fields, or other larger fields that `significant_text` doesn't care about.
Since `significant_text` does not allow sub-aggs, not caching the parsed `_source` is reasonable.
Copy file name to clipboardExpand all lines: server/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/SignificantTextAggregatorFactory.java
0 commit comments