|
1
|
import { CardList, Note, Table } from "docs-ui" |
|
2
|
|
|
3
|
export const metadata = { |
|
4
|
title: `Compare Medusa Search to Other Search Engines`, |
|
5
|
keywords: [ |
|
6
|
"search", |
|
7
|
"medusa search", |
|
8
|
"comparison", |
|
9
|
"postgres", |
|
10
|
"postgresql", |
|
11
|
"algolia", |
|
12
|
"meilisearch", |
|
13
|
"search engine", |
|
14
|
], |
|
15
|
} |
|
16
|
|
|
17
|
# {metadata.title} |
|
18
|
|
|
19
|
In this guide, you'll compare [Medusa Search](../page.mdx) to the search engines that Medusa projects commonly use, so you can decide which one fits your project. Each engine also has a detailed comparison guide, linked from every section. |
|
20
|
|
|
21
|
<Note title="Not a Cloud user yet?"> |
|
22
|
|
|
23
|
[Sign up for Cloud](../../sign-up/page.mdx) to use Medusa Search and other Cloud features. |
|
24
|
|
|
25
|
</Note> |
|
26
|
|
|
27
|
## The Engines at a Glance |
|
28
|
|
|
29
|
Medusa Search is a managed search service for Cloud projects. It stores your search indexes outside of your database and serves search queries for them, from full-text queries with relevance ranking to vector search over embeddings. |
|
30
|
|
|
31
|
The [Search Module](!resources!/infrastructure-modules/search) drives every engine through a provider, so the [`query.search`](!docs!/learn/fundamentals/query/search) calls you write and the [index definitions](!resources!/infrastructure-modules/search/index-definitions) you declare for your own entities stay the same. What changes is which provider serves them: |
|
32
|
|
|
33
|
<Table> |
|
34
|
<Table.Header> |
|
35
|
<Table.Row> |
|
36
|
<Table.HeaderCell> |
|
37
|
Engine |
|
38
|
</Table.HeaderCell> |
|
39
|
<Table.HeaderCell> |
|
40
|
What it is |
|
41
|
</Table.HeaderCell> |
|
42
|
<Table.HeaderCell> |
|
43
|
Who provides the module provider |
|
44
|
</Table.HeaderCell> |
|
45
|
</Table.Row> |
|
46
|
</Table.Header> |
|
47
|
<Table.Body> |
|
48
|
<Table.Row> |
|
49
|
<Table.Cell> |
|
50
|
Medusa Search |
|
51
|
</Table.Cell> |
|
52
|
<Table.Cell> |
|
53
|
A managed search service that Cloud runs for every environment of your project. |
|
54
|
</Table.Cell> |
|
55
|
<Table.Cell> |
|
56
|
|
|
57
|
Medusa, as the `search-medusa` provider that Cloud registers for you. |
|
58
|
|
|
59
|
</Table.Cell> |
|
60
|
</Table.Row> |
|
61
|
<Table.Row> |
|
62
|
<Table.Cell> |
|
63
|
|
|
64
|
[PostgreSQL](!resources!/infrastructure-modules/search/providers/postgres) |
|
65
|
|
|
66
|
</Table.Cell> |
|
67
|
<Table.Cell> |
|
68
|
Full-text search inside the database your Medusa application already uses. |
|
69
|
</Table.Cell> |
|
70
|
<Table.Cell> |
|
71
|
|
|
72
|
Medusa, as the `search-postgres` provider that Medusa registers by default. |
|
73
|
|
|
74
|
</Table.Cell> |
|
75
|
</Table.Row> |
|
76
|
<Table.Row> |
|
77
|
<Table.Cell> |
|
78
|
Algolia |
|
79
|
</Table.Cell> |
|
80
|
<Table.Cell> |
|
81
|
A hosted search product with deep relevance tuning, merchandising, and analytics. |
|
82
|
</Table.Cell> |
|
83
|
<Table.Cell> |
|
84
|
You, as a Search Module Provider you build and maintain. |
|
85
|
</Table.Cell> |
|
86
|
</Table.Row> |
|
87
|
<Table.Row> |
|
88
|
<Table.Cell> |
|
89
|
Meilisearch |
|
90
|
</Table.Cell> |
|
91
|
<Table.Cell> |
|
92
|
An open-source search engine you self-host, or run on Meilisearch Cloud. |
|
93
|
</Table.Cell> |
|
94
|
<Table.Cell> |
|
95
|
You, as a Search Module Provider you build and maintain. |
|
96
|
</Table.Cell> |
|
97
|
</Table.Row> |
|
98
|
</Table.Body> |
|
99
|
</Table> |
|
100
|
|
|
101
|
--- |
|
102
|
|
|
103
|
## Summary Comparison |
|
104
|
|
|
105
|
The following table compares the four engines across the concerns that usually decide the choice. Refer to each engine's detailed guide for the behavior behind a row. |
|
106
|
|
|
107
|
<Table> |
|
108
|
<Table.Header> |
|
109
|
<Table.Row> |
|
110
|
<Table.HeaderCell> |
|
111
|
Concern |
|
112
|
</Table.HeaderCell> |
|
113
|
<Table.HeaderCell> |
|
114
|
Medusa Search |
|
115
|
</Table.HeaderCell> |
|
116
|
<Table.HeaderCell> |
|
117
|
PostgreSQL |
|
118
|
</Table.HeaderCell> |
|
119
|
<Table.HeaderCell> |
|
120
|
Algolia |
|
121
|
</Table.HeaderCell> |
|
122
|
<Table.HeaderCell> |
|
123
|
Meilisearch |
|
124
|
</Table.HeaderCell> |
|
125
|
</Table.Row> |
|
126
|
</Table.Header> |
|
127
|
<Table.Body> |
|
128
|
<Table.Row> |
|
129
|
<Table.Cell> |
|
130
|
Setup |
|
131
|
</Table.Cell> |
|
132
|
<Table.Cell> |
|
133
|
Medusa provisions it per environment. |
|
134
|
</Table.Cell> |
|
135
|
<Table.Cell> |
|
136
|
|
|
137
|
Run `db:migrate` to create its tables and extensions. |
|
138
|
|
|
139
|
</Table.Cell> |
|
140
|
<Table.Cell> |
|
141
|
Create an account, an index, and keys per environment. |
|
142
|
</Table.Cell> |
|
143
|
<Table.Cell> |
|
144
|
Run the engine yourself, or create a Meilisearch Cloud project. |
|
145
|
</Table.Cell> |
|
146
|
</Table.Row> |
|
147
|
<Table.Row> |
|
148
|
<Table.Cell> |
|
149
|
Who operates it |
|
150
|
</Table.Cell> |
|
151
|
<Table.Cell> |
|
152
|
Medusa. |
|
153
|
</Table.Cell> |
|
154
|
<Table.Cell> |
|
155
|
You, as part of your database. |
|
156
|
</Table.Cell> |
|
157
|
<Table.Cell> |
|
158
|
Algolia. |
|
159
|
</Table.Cell> |
|
160
|
<Table.Cell> |
|
161
|
You when you self-host, or Meilisearch on their cloud. |
|
162
|
</Table.Cell> |
|
163
|
</Table.Row> |
|
164
|
<Table.Row> |
|
165
|
<Table.Cell> |
|
166
|
Integration code you maintain |
|
167
|
</Table.Cell> |
|
168
|
<Table.Cell> |
|
169
|
None by default. Medusa manages the infrastructure for you. |
|
170
|
</Table.Cell> |
|
171
|
<Table.Cell> |
|
172
|
None for products. An index definition per custom entity you search. |
|
173
|
</Table.Cell> |
|
174
|
<Table.Cell> |
|
175
|
A provider you build, and an index definition per entity you search. |
|
176
|
</Table.Cell> |
|
177
|
<Table.Cell> |
|
178
|
A provider you build, and an index definition per entity you search. |
|
179
|
</Table.Cell> |
|
180
|
</Table.Row> |
|
181
|
<Table.Row> |
|
182
|
<Table.Cell> |
|
183
|
Local development |
|
184
|
</Table.Cell> |
|
185
|
<Table.Cell> |
|
186
|
Available through a [connection string](../page.mdx#use-search-in-local-development). |
|
187
|
</Table.Cell> |
|
188
|
<Table.Cell> |
|
189
|
The default provider locally, with no extra service. |
|
190
|
</Table.Cell> |
|
191
|
<Table.Cell> |
|
192
|
No local engine. Local development points at a real index. |
|
193
|
</Table.Cell> |
|
194
|
<Table.Cell> |
|
195
|
The same engine runs locally as a binary or container. |
|
196
|
</Table.Cell> |
|
197
|
</Table.Row> |
|
198
|
<Table.Row> |
|
199
|
<Table.Cell> |
|
200
|
Relevance tuning |
|
201
|
</Table.Cell> |
|
202
|
<Table.Cell> |
|
203
|
A weight per searchable field. |
|
204
|
</Table.Cell> |
|
205
|
<Table.Cell> |
|
206
|
Four relevance tiers that weights collapse onto. |
|
207
|
</Table.Cell> |
|
208
|
<Table.Cell> |
|
209
|
Ranking rules, synonyms, and merchandising controls. |
|
210
|
</Table.Cell> |
|
211
|
<Table.Cell> |
|
212
|
Ranking rules, synonyms, and stop words. |
|
213
|
</Table.Cell> |
|
214
|
</Table.Row> |
|
215
|
<Table.Row> |
|
216
|
<Table.Cell> |
|
217
|
Vector and hybrid search |
|
218
|
</Table.Cell> |
|
219
|
<Table.Cell> |
|
220
|
Supported on the Scale and Enterprise plans, with embeddings it can create for you on the Enterprise plan. |
|
221
|
</Table.Cell> |
|
222
|
<Table.Cell> |
|
223
|
Not supported. The provider ignores a vector field and rejects a vector query. |
|
224
|
</Table.Cell> |
|
225
|
<Table.Cell> |
|
226
|
Supported through Algolia's own vector features. |
|
227
|
</Table.Cell> |
|
228
|
<Table.Cell> |
|
229
|
Supported, with an embedder that can compute the embeddings. |
|
230
|
</Table.Cell> |
|
231
|
</Table.Row> |
|
232
|
<Table.Row> |
|
233
|
<Table.Cell> |
|
234
|
Per-environment isolation |
|
235
|
</Table.Cell> |
|
236
|
<Table.Cell> |
|
237
|
Medusa manages one set of indexes per environment for you. |
|
238
|
</Table.Cell> |
|
239
|
<Table.Cell> |
|
240
|
Tables in the environment's database, so they travel with it. |
|
241
|
</Table.Cell> |
|
242
|
<Table.Cell> |
|
243
|
You name and provision an index per environment. |
|
244
|
</Table.Cell> |
|
245
|
<Table.Cell> |
|
246
|
You provision an index or an instance per environment. |
|
247
|
</Table.Cell> |
|
248
|
</Table.Row> |
|
249
|
<Table.Row> |
|
250
|
<Table.Cell> |
|
251
|
What you pay for |
|
252
|
</Table.Cell> |
|
253
|
<Table.Cell> |
|
254
|
No separate subscription. Your plan includes an allowance of search requests. |
|
255
|
</Table.Cell> |
|
256
|
<Table.Cell> |
|
257
|
Your database's own resources, which search shares with checkout. Other Cloud costs may apply depending on your usage, as explained in the [detailed comparison guide](../postgres/page.mdx#other-cloud-usage-postgresql-affects) |
|
258
|
</Table.Cell> |
|
259
|
<Table.Cell> |
|
260
|
A subscription priced on stored records and search requests. Other Cloud costs may apply depending on your usage, as explained in the [detailed comparison guide](../algolia/page.mdx#other-cloud-usage-algolia-affects) |
|
261
|
</Table.Cell> |
|
262
|
<Table.Cell> |
|
263
|
Your own infrastructure, or a Meilisearch Cloud subscription. Other Cloud costs may apply depending on your usage, as explained in the [detailed comparison guide](../meilisearch/page.mdx#other-cloud-usage-meilisearch-affects) |
|
264
|
</Table.Cell> |
|
265
|
</Table.Row> |
|
266
|
</Table.Body> |
|
267
|
</Table> |
|
268
|
|
|
269
|
--- |
|
270
|
|
|
271
|
## Detailed Comparisons |
|
272
|
|
|
273
|
Each guide compares Medusa Search to one engine across setup, integration, indexing, search capabilities, storefront querying, and cost: |
|
274
|
|
|
275
|
<CardList |
|
276
|
itemsPerRow={1} |
|
277
|
items={[ |
|
278
|
{ |
|
279
|
title: "PostgreSQL", |
|
280
|
text: "The provider Medusa registers by default, and the one your local development uses.", |
|
281
|
href: "/search/postgres", |
|
282
|
}, |
|
283
|
{ |
|
284
|
title: "Algolia", |
|
285
|
text: "A hosted search product with relevance tuning, merchandising, and analytics.", |
|
286
|
href: "/search/algolia", |
|
287
|
}, |
|
288
|
{ |
|
289
|
title: "Meilisearch", |
|
290
|
text: "An open-source engine you self-host, or run on Meilisearch Cloud.", |
|
291
|
href: "/search/meilisearch", |
|
292
|
}, |
|
293
|
]} |
|
294
|
/> |
|
295
|
|
|
296
|
--- |
|
297
|
|
|
298
|
## Migrate to Medusa Search |
|
299
|
|
|
300
|
If you already run Algolia or Meilisearch and you're moving to Medusa Search, the following guides cover the end-to-end steps, including how to map your index settings and backfill your documents: |
|
301
|
|
|
302
|
- [Migrate from Algolia to Medusa Search](../migrate-from-algolia/page.mdx) |
|
303
|
- [Migrate from Meilisearch to Medusa Search](../migrate-from-meilisearch/page.mdx) |