-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.22.0
-
Component/s: elasticsearch-adapter
-
Labels:
-
Flags:Patch, Important
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.
- links to