Class ElasticsearchLoadableSearchResult<H>

java.lang.Object
org.hibernate.search.backend.elasticsearch.search.query.impl.ElasticsearchLoadableSearchResult<H>
Type Parameters:
H - The type of hits in the search result.

public class ElasticsearchLoadableSearchResult<H> extends Object
A search result from the backend that offers a method to load data from the mapper.

Allows to run loading in the user thread, and not in the backend HTTP request threads.

WARNING: loading should only be triggered once.

WARNING: this class is not thread-safe.