52 : wildcard_{ std::move(regexp) }
68 field_ = std::move(field_name);
78 [[nodiscard]]
auto encode() const -> encoded_search_query override;
81 std::
string wildcard_;
82 std::optional<std::
string> field_{};
Base class for full text search queries.
Definition search_query.hxx:33
A wildcard query is a query in which term the character * will match 0..n occurrences of any characte...
Definition wildcard_query.hxx:41
auto field(std::string field_name) -> wildcard_query &
If a field is specified, only terms in that field will be matched.
Definition wildcard_query.hxx:66
wildcard_query(std::string regexp)
Create a new wildcard query.
Definition wildcard_query.hxx:51
auto encode() const -> encoded_search_query override
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28