25#ifndef COUCHBASE_CXX_CLIENT_DOXYGEN
26struct encoded_search_query;
51 std::enable_if_t<std::is_base_of_v<search_query, derived_query>,
bool> =
true>
55 return *
static_cast<derived_query*
>(
this);
64 [[nodiscard]]
virtual auto encode() const -> encoded_search_query = 0;
Base class for full text search queries.
Definition search_query.hxx:33
auto boost(double boost) -> derived_query &
The boost parameter is used to increase the relative weight of a clause (with a boost greater than 1)...
Definition search_query.hxx:52
std::optional< double > boost_
Definition search_query.hxx:69
virtual auto encode() const -> encoded_search_query=0
virtual ~search_query()=default
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28