54 : polygon_points_{ std::move(points) }
70 field_ = std::move(field_name);
80 [[nodiscard]]
auto encode() const -> encoded_search_query override;
84 std::optional<std::
string> field_{};
auto field(std::string field_name) -> geo_polygon_query &
If a field is specified, only terms in that field will be matched.
Definition geo_polygon_query.hxx:68
geo_polygon_query(std::vector< geo_point > points)
Create a new geo polygon query.
Definition geo_polygon_query.hxx:53
auto encode() const -> encoded_search_query override
Represents a single item from the result of scan()
Definition allow_querying_search_index_options.hxx:28
Tuple representing geographical point.
Definition geo_point.hxx:28