We're updating the issue view to help you get more done. 

Expose meta-information about the query execution (execution time, timeout, ...)

Description

The goal would be to replace these (Elasticsearch-only) projections from Search 5:

  • org.hibernate.search.elasticsearch.ElasticsearchProjectionConstants#TOOK

  • org.hibernate.search.elasticsearch.ElasticsearchProjectionConstants#TIMED_OUT

This information is global to the request, so it does not make much sense to expose it to the user as a projection. A better approach, maybe, would be to expose additional getters on SearchResult? We may be able to include additional metadata, such as loading time.

Related:

Environment

None

Status

Assignee

Unassigned

Reporter

Yoann Rodière

Fix versions

Priority

Major