Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
Patch, Important
Description
For elasticsearch-adapter, when ElasticsearchAggregate involved , set _source = false and size = 0 , Elasticsearch `FetchPhase` would still be executed against the current search process and visit the Lucene stored_fields, which would lead to performance declined dramatically.
We can set `stored_fields = _none` prohibit this such behavior entirely, and skip the Elasticsearch's `fetch phase` which would bring time-consuming `fetch phase` for metadata fields such as '_id' etc.
Attachments
Attachments
Issue Links
- links to