fix: index name is domain scoped
This commit is contained in:
parent
711f9abb6b
commit
7fd781b03d
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ impl AddProductToStoreFTSPort for InventoryFTSMeili {
|
|||
product: &Product,
|
||||
category: &Category,
|
||||
) -> InventoryFTSResult<()> {
|
||||
let store_index = self.client.index(category.store_id().to_string());
|
||||
let store_index = self.client.index(format!("inventory.{}",category.store_id()));
|
||||
let meili_product = MeiliProduct::new(product, category);
|
||||
store_index
|
||||
.add_documents(&[meili_product], Some("product_id"))
|
||||
|
|
Loading…
Reference in a new issue