Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects versions: None
-
Fix versions: 5.8.0.CR1
-
Components: backend-elasticsearch
-
Labels:
-
Pull Request:
Description
Profiler data shows that we're being overwhelmed by buffer resizing needs of the various StringBuilder instances needed to build the JSON requests.
In particular the method org.hibernate.search.elasticsearch.util.impl.ElasticsearchClientUtils.toEntity(Gson, ElasticsearchRequest) seems very intensive, but can be optimised.
Attachments
Issue links
- required for
-
HSEARCH-2819 Avoid unnecessary JSON parsing of Elasticsearch responses
-
- Closed
-