51 : regexp_{ std::move(regexp) }
67 field_ = std::move(field_name);
77 [[nodiscard]]
auto encode() const -> encoded_search_query override;
81 std::optional<std::
string> field_{};
Finds documents containing terms that match the specified regular expression.
Definition regexp_query.hxx:40
auto encode() const -> encoded_search_query override
regexp_query(std::string regexp)
Create a new regexp query.
Definition regexp_query.hxx:50
auto field(std::string field_name) -> regexp_query &
If a field is specified, only terms in that field will be matched.
Definition regexp_query.hxx:65
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