Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
7.0.x
-
Committed
-
1
-
Performance
Description
When running in elasticsearch embedded mode, there is no reason to go through search threadpool dispatching. Because everything runs in the same jvm, rather than going to remote server. And we always synchronously getting the SearchResponse back, rather than using a Future. There will be better performance if we just let the invoker thread perform the search task directly.