Couchbase C++ SDK 1.5.0 (rev. 380784c)
Loading...
Searching...
No Matches
search_scoring_none Class Reference

Disables scoring, so that the server does not perform any scoring on the hits. More...

#include <couchbase/search_scoring_none.hxx>

Inheritance diagram for search_scoring_none:
Inheritance graph

Public Member Functions

 search_scoring_none ()=default
auto build () const -> search_scoring::built override
 Returns the scoring mode as an immutable value.
Public Member Functions inherited from search_scoring
virtual ~search_scoring ()=default

Additional Inherited Members

Protected Member Functions inherited from search_scoring
 search_scoring ()=default

Detailed Description

Disables scoring, so that the server does not perform any scoring on the hits.

This sends the same "none" that the deprecated disable_scoring() sends. It is not a fusion strategy: "none" predates score fusion, so it works on older server versions.

Since
1.5.0
Committed
Generally available API and should be preferred in production

Constructor & Destructor Documentation

◆ search_scoring_none()

search_scoring_none ( )
default

Member Function Documentation

◆ build()

auto build ( ) const -> search_scoring::built
inlinenodiscardoverridevirtual

Returns the scoring mode as an immutable value.

Returns
the scoring mode as an immutable value
Since
1.5.0
Internal
Internal interface

Implements search_scoring.


The documentation for this class was generated from the following file: