Skip to content

Polygon query for geo_point field should pass the multi-polygon to LatLonPoint #20789

@mikemccand

Description

@mikemccand

This is a follow-on to #20315, where we cutover to LatLonPoint for faster geo shape filtering.

But we still make a big BooleanQuery when a multi-polygon (a union of top-level polygons, with or without internal holes) is passed.

This is in general far slower than passing the entire multi-polyon to LatLonPoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Analytics/GeoIndexing, search aggregations of geo points and shapes>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions