Class: Couchbase::SearchScoring::SearchScoringRelativeScoreFusion
- Inherits:
-
SearchScoring
- Object
- SearchScoring
- Couchbase::SearchScoring::SearchScoringRelativeScoreFusion
- Defined in:
- lib/couchbase/search_options.rb,
/home/runner/work/couchbase-ruby-client/couchbase-ruby-client/lib/couchbase/search_options.rb
Overview
SearchScoringRelativeScoreFusion merges the FTS and vector result sets of a hybrid search by normalized
score.
Instance Attribute Summary collapse
-
#window_size ⇒ Integer?
How many results per list are considered for fusion (the server defaults this to the request limit).
Instance Method Summary collapse
-
#initialize {|| ... } ⇒ SearchScoringRelativeScoreFusion
constructor
A new instance of SearchScoringRelativeScoreFusion.
Constructor Details
#initialize {|| ... } ⇒ SearchScoringRelativeScoreFusion
Returns a new instance of SearchScoringRelativeScoreFusion.
1324 1325 1326 1327 |
# File 'lib/couchbase/search_options.rb', line 1324 def initialize super yield self if block_given? end |
Instance Attribute Details
#window_size ⇒ Integer?
Returns how many results per list are considered for fusion (the server defaults this to the request limit).
1321 1322 1323 |
# File 'lib/couchbase/search_options.rb', line 1321 def window_size @window_size end |