Geo: fix geo query decomposition (#44924)
The recent refactoring introduced an issue where queries where not going through the decomposition processing. Fixes #44891
This commit is contained in:
parent
9dd527328a
commit
b6cef227a5
|
@ -66,7 +66,7 @@ public class VectorGeoShapeQueryProcessor implements AbstractGeometryFieldMapper
|
||||||
if (processedShape == null) {
|
if (processedShape == null) {
|
||||||
return new MatchNoDocsQuery();
|
return new MatchNoDocsQuery();
|
||||||
}
|
}
|
||||||
return queryShape.visit(new ShapeVisitor(context, fieldName, relation));
|
return processedShape.visit(new ShapeVisitor(context, fieldName, relation));
|
||||||
}
|
}
|
||||||
|
|
||||||
private class ShapeVisitor implements GeometryVisitor<Query, RuntimeException> {
|
private class ShapeVisitor implements GeometryVisitor<Query, RuntimeException> {
|
||||||
|
|
Loading…
Reference in New Issue