Allow to extract native Lucene ScoreDoc data

Description

Studying the current Lucene projections that we have at the moment, I think we don't have a way to extract the Lucene document id and the shard id from the query hits yet.

We could expose Lucene document id and shard id projections, or simply expose the ScoreDoc that contains both the values plus the score. Anyway I think that, due to the nice composite projection API, it is not critical which solution will be chosen.

Environment

None

Assignee

Fabio Massimo Ercoli

Reporter

Fabio Massimo Ercoli

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure