mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-17 18:26:26 +00:00
Support missing search_fragments
and indexing_fragments
This commit is contained in:
@ -140,7 +140,9 @@ pub struct EmbedderOptions {
|
|||||||
pub dimensions: Option<usize>,
|
pub dimensions: Option<usize>,
|
||||||
pub url: String,
|
pub url: String,
|
||||||
pub request: Value,
|
pub request: Value,
|
||||||
|
#[serde(default)] // backward compatibility
|
||||||
pub search_fragments: BTreeMap<String, Value>,
|
pub search_fragments: BTreeMap<String, Value>,
|
||||||
|
#[serde(default)] // backward compatibility
|
||||||
pub indexing_fragments: BTreeMap<String, Value>,
|
pub indexing_fragments: BTreeMap<String, Value>,
|
||||||
pub response: Value,
|
pub response: Value,
|
||||||
pub headers: BTreeMap<String, String>,
|
pub headers: BTreeMap<String, String>,
|
||||||
|
Reference in New Issue
Block a user