Commit Graph

17 Commits

Author SHA1 Message Date
Oliver Windall Juhl
74bc4b16a0 feat(medusa-plugin-algolia): Revamp Algolia search plugin (#3510) 2023-03-22 12:55:26 +01:00
Oliver Windall Juhl
7e17e0ddc2 feat(medusa-plugin-meilisearch): Update + improve Meilisearch plugin (#3377)
* feat(medusa-plugin-meilisearch): Upgrade meilisearch deps + migrate plugin to TS

* fix version

* Remove transaction base service from search service

* Create .changeset/strange-mails-pump.md

* Backward compatibility

* Address PR feedback

* Fix folder structure

* Update readme

* Move types

* fix deps

* Change version in changeset

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
2023-03-16 16:15:29 +01:00
Carlos R. L. Rodrigues
eb8034502b chore: initial commit fix linting issues (#2169)
* chore: lint fixes
2022-09-21 12:19:03 -03:00
Oliver Windall Juhl
ba77fc920f bump (#1040) 2022-02-11 15:54:37 +01:00
Sebastian Rindom
700f8c3919 fix: move subscriber to core 2021-10-18 13:42:40 +02:00
Sebastian Rindom
4fd361fddd merge develop 2021-10-15 20:09:31 +02:00
zakariaelas
8a57541b49 add: flatten collection.handle 2021-09-27 14:11:24 +01:00
zakariaelas
9b6d0c7334 add: request + response interface changes 2021-09-27 12:42:10 +01:00
zakariaelas
24eecd2922 fix: use type to choose transformer before adding or replacing documents 2021-09-24 11:34:14 +01:00
zakariaelas
307b1c9342 fix cursor pagination + flatten variant options field 2021-09-24 01:20:12 +01:00
zakariaelas
451e3bcdcf further adjustments based on seb's feedback 2021-09-22 15:44:52 +01:00
zakariaelas
560cc0de55 add: flatten collection title, tag value, and type value fields 2021-09-21 15:31:02 +01:00
zakariaelas
c67ca16a9b more adjustments
move indexing logic to plugin
remove loadToSearchEngine from ProductService
adjust medusa core accordingly
2021-09-21 13:14:08 +01:00
zakariaelas
3a10e37377 adjustments
rename search subscriber
fix: comments in medusa-interfaces/search-service.js
add: use cursor pagination when indexing all products to search engine
fix: emit product_id on product-variant creation
fix: move search API route under products/search
fix: use meilisearchService instead of searchService in plugin loader
2021-09-20 14:44:58 +01:00
zakariaelas
0fbde7c51f add: abstract search functionality to core + adjust meilisearch-plugin
add SearchService interface to medusa-interfaces
add DefaultSearchService skeleton implementation to core
add search-index.js loader to core for indexing db documents
add SearchSubscriber to core
add loadToSearchEngine method in ProductService
switch order of loaders in core to load subscriptions AFTER plugins
adjust service and loader for medusa-plugin-meilisearch
2021-09-16 15:48:09 +01:00
zakariaelas
425c8a5e5d remove: console.log 2021-09-09 17:58:11 +01:00
zakariaelas
c56f37415d add: medusa-plugin-meilisearch + add deleted event in productService + tweak emitted event data in productVariantService 2021-09-09 17:56:10 +01:00