Support distance sorts on single-valued fields in nested documents

Description

Follows up on HSEARCH-2254.

See org.hibernate.search.integrationtest.showcase.library.repository.indexsearch.IndexSearchDocumentRepositoryImpl#searchAroundMe in particular: we should uncomment a sort by distance there when this ticket is fixed.

Environment

None

Status

Assignee

Unassigned

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Fix versions

Priority

Major