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_{};
A search query which allows to match inside a geo polygon.
Definition geo_polygon_query.hxx:43
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
Base class for full text search queries.
Definition search_query.hxx:33
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
Tuple representing geographical point.
Definition geo_point.hxx:28