61 field_ = std::move(field_name);
71 [[nodiscard]]
auto encode() const -> encoded_search_query override;
75 std::optional<std::
string> field_{};
Allow to match true/false in a field mapped as boolean.
Definition boolean_field_query.hxx:34
boolean_field_query(bool value)
Create a new boolean field query.
Definition boolean_field_query.hxx:44
auto field(std::string field_name) -> boolean_field_query &
If a field is specified, only terms in that field will be matched.
Definition boolean_field_query.hxx:59
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