53 : prefix_{ std::move(prefix) }
69 field_ = std::move(field_name);
79 [[nodiscard]]
auto encode() const -> encoded_search_query override;
83 std::optional<std::
string> field_{};
prefix_query(std::string prefix)
Create a new prefix query.
Definition prefix_query.hxx:52
auto field(std::string field_name) -> prefix_query &
If a field is specified, only terms in that field will be matched.
Definition prefix_query.hxx:67
auto encode() const -> encoded_search_query override
Represents a single item from the result of scan()
Definition allow_querying_search_index_options.hxx:28