ClassCastException: org.hibernate.search.backend.elasticsearch.types.sort.impl.ElasticsearchGeoPointFieldSortBuilderFactory cannot be cast to org.hibernate.search.backend.elasticsearch.types.sort.impl.ElasticsearchStandardFieldSortBuilderFactory

Description

This occurs when we try executing a sort by distance on multiple indexes.

The source of the bug is obvious, but beyond fixing it, we should really add a test for distance sorts on multiple indexes.

Environment

None

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure