Class: Couchbase::VectorSearch
- Inherits:
-
Object
- Object
- Couchbase::VectorSearch
- Defined in:
- lib/couchbase/search_options.rb
Overview
Instance Method Summary collapse
-
#initialize(vector_queries, options = Options::VectorSearch::DEFAULT) ⇒ VectorSearch
constructor
Constructs a
VectorSearch
instance, which allows one or more individual vector queries to be executed.
Constructor Details
#initialize(vector_queries, options = Options::VectorSearch::DEFAULT) ⇒ VectorSearch
Constructs a VectorSearch
instance, which allows one or more individual vector queries to be executed.
1055 1056 1057 1058 |
# File 'lib/couchbase/search_options.rb', line 1055 def initialize(vector_queries, = Options::VectorSearch::DEFAULT) @vector_queries = vector_queries.respond_to?(:each) ? vector_queries : [vector_queries] @options = end |