struct Meilisearch::Crystal::Hybrid

Overview

Hybrid keyword/vector search configuration.

Defined in:

meilisearch/crystal/search.cr

Constructors

Instance Method Summary

Constructor methods inherited from struct Meilisearch::Crystal::Resource

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new

Macros inherited from struct Meilisearch::Crystal::Resource

define(name, &block) define, field(declaration) field, field!(declaration) field!, field?(declaration) field?

Constructor Detail

def self.new(pull : JSON::PullParser) #

Hybrid keyword/vector search configuration.


[View source]
def self.new(embedder : String, semantic_ratio : Float64 | Nil = nil) #

[View source]

Instance Method Detail

def embedder : String #

def semantic_ratio : Float64 | Nil #