Class: Couchbase::VectorQuery
- Inherits:
-
Object
- Object
- Couchbase::VectorQuery
- Defined in:
- lib/couchbase/search_options.rb
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(vector_field_name, vector_query) {|self| ... } ⇒ VectorQuery
constructor
Constructs a
VectorQuery
instance.
Constructor Details
#initialize(vector_field_name, vector_query) {|self| ... } ⇒ VectorQuery
Constructs a VectorQuery
instance
1075 1076 1077 1078 1079 1080 |
# File 'lib/couchbase/search_options.rb', line 1075 def initialize(vector_field_name, vector_query) @vector_field_name = vector_field_name @vector_query = vector_query yield self if block_given? end |
Instance Attribute Details
#boost ⇒ Float?
1067 1068 1069 |
# File 'lib/couchbase/search_options.rb', line 1067 def boost @boost end |
#num_candidates ⇒ Integer?
1064 1065 1066 |
# File 'lib/couchbase/search_options.rb', line 1064 def num_candidates @num_candidates end |