Method: Spectre::Searchable::ClassMethods#configure_spectre_search_path

Defined in:
lib/spectre/searchable.rb

#configure_spectre_search_path(path) ⇒ Object

Configure the path to the embedding field for the vector search.

Parameters:

  • path (String)

    The path to the embedding field.



17
18
19
# File 'lib/spectre/searchable.rb', line 17

def configure_spectre_search_path(path)
  @search_path = path
end