Open
Description
Elasticsearch Version
main
Installed Plugins
No response
Java Version
bundled
OS Version
Problem Description
java.lang.ClassCastException: class org.elasticsearch.index.fielddata.plain.SortedDoublesIndexFieldData cannot be cast to class org.elasticsearch.index.fielddata.IndexGeoPointFieldData (org.elasticsearch.index.fielddata.plain.SortedDoublesIndexFieldData and org.elasticsearch.index.fielddata.IndexGeoPointFieldData are in module [email protected] of loader 'app')
at [email protected]/org.elasticsearch.search.sort.GeoDistanceSortBuilder.fieldData(GeoDistanceSortBuilder.java:602)
at [email protected]/org.elasticsearch.search.sort.GeoDistanceSortBuilder.build(GeoDistanceSortBuilder.java:508)
at [email protected]/org.elasticsearch.search.sort.SortBuilder.buildSort(SortBuilder.java:161)
at [email protected]/org.elasticsearch.search.sort.SortBuilder.buildSort(SortBuilder.java:153)
at [email protected]/org.elasticsearch.search.SearchService.parseSource(SearchService.java:1574)
at [email protected]/org.elasticsearch.search.SearchService.createContext(SearchService.java:1335)
at [email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:869)
at [email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$7(SearchService.java:710)
at [email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:79)
at [email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:76)
at [email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:101)
at [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)
at [email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:35)
at [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:1044)
at [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:27)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)
at java.base/java.lang.Thread.run(Thread.java:1447)
Steps to Reproduce
Found this in suppressed REST errors.
Logs (if relevant)
No response