Class: Couchbase::SearchScoring::SearchScoringRelativeScoreFusion

Inherits:
SearchScoring
  • Object
show all
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.

Stability:

  • Uncommitted: This API may change in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|| ... } ⇒ SearchScoringRelativeScoreFusion

Returns a new instance of SearchScoringRelativeScoreFusion.

Yield Parameters:

Stability:

  • Uncommitted: This API may change in the future.



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).

Returns:

  • (Integer, nil) —

    how many results per list are considered for fusion (the server defaults this to the request limit)

Stability:

  • Uncommitted: This API may change in the future.



1321
1322
1323
# File 'lib/couchbase/search_options.rb', line 1321

def window_size
  @window_size
end