Skip to content

Commit ad892d7

Browse files
authored
Merge pull request #405 from meilisearch/upd-readme
Upd readme
2 parents 0d0144a + 0dacecc commit ad892d7

File tree

1 file changed

+32
-29
lines changed

1 file changed

+32
-29
lines changed

README.md

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,15 @@
2828
## Table of Contents <!-- omit in toc -->
2929

3030
- [🔧 Installation](#-installation)
31-
- [🚀 Getting started](#-getting-started)
31+
- [🎬 Getting started](#-getting-started)
32+
- [🤖 Compatibility with MeiliSearch](#-compatibility-with-meilisearch)
3233
- [🎬 Examples](#-examples)
3334
- [Indexes](#indexes)
3435
- [Documents](#documents)
3536
- [Update status](#update-status)
3637
- [Search](#search)
37-
- [🤖 Compatibility with MeiliSearch](#-compatibility-with-meilisearch)
38+
- [⚙️ Development Workflow](#️-development-workflow)
39+
- [📜 API Resources](#-api-resources)
3840

3941
## 🔧 Installation
4042

@@ -46,7 +48,7 @@ npm install meilisearch
4648
yarn add meilisearch
4749
```
4850

49-
### 🏃‍♀️ Run MeiliSearch
51+
### 🏃‍♀️ Run MeiliSearch <!-- omit in toc -->
5052

5153
There are many easy ways to [download and run a MeiliSearch instance](https://docs.meilisearch.com/guides/advanced_guides/installation.html#download-and-launch).
5254

@@ -92,7 +94,7 @@ import MeiliSearch from 'meilisearch'
9294

9395
With the `updateId`, you can check the status (`processed` or `failed`) of your documents addition thanks to this [method](#update-status).
9496

95-
#### Search in index
97+
#### Search in index <!-- omit in toc -->
9698

9799
```javascript
98100
// MeiliSearch is typo-tolerant:
@@ -117,6 +119,11 @@ Output:
117119
}
118120
```
119121

122+
## 🤖 Compatibility with MeiliSearch
123+
124+
This package is compatible with the following MeiliSearch versions:
125+
- `v0.10.X`
126+
120127
## 🎬 Examples
121128

122129
All HTTP routes of MeiliSearch are accessible via methods in this SDK.</br>
@@ -258,13 +265,13 @@ If you want to contribute, this sections describes the steps to follow.
258265

259266
Thank you for your interest in a MeiliSearch tool! ♥️
260267

261-
### Install dependencies
268+
### Install dependencies <!-- omit in toc -->
262269

263270
```bash
264271
$ yarn --dev
265272
```
266273

267-
### Tests and Linter
274+
### Tests and Linter <!-- omit in toc -->
268275

269276
Each PR should pass the tests and the linter to be accepted.
270277

@@ -280,7 +287,7 @@ $ yarn style:fix
280287
$ yarn build
281288
```
282289

283-
### Release
290+
### Release <!-- omit in toc -->
284291

285292
MeiliSearch tools follow the [Semantic Versioning Convention](https://semver.org/).
286293

@@ -301,19 +308,15 @@ $ git push --tag origin master
301308

302309
A GitHub Action will be triggered and push the package on [npm](https://www.npmjs.com/package/meilisearch).
303310

304-
## 🤖 Compatibility with MeiliSearch
305-
306-
This package works for MeiliSearch `>=0.10.x`.
307-
308311
## 📜 API Resources
309312

310-
### Search
313+
### Search <!-- omit in toc -->
311314

312315
- Make a search request:
313316

314317
`client.getIndex('xxx').search(query: string, options?: SearchParams): Promise<SearchResponse>`
315318

316-
### Indexes
319+
### Indexes <!-- omit in toc -->
317320

318321
- List all indexes:
319322

@@ -343,7 +346,7 @@ This package works for MeiliSearch `>=0.10.x`.
343346

344347
`index.getStats(): Promise<IndexStats>`
345348

346-
### Updates
349+
### Updates <!-- omit in toc -->
347350

348351
- Get One update info:
349352

@@ -357,7 +360,7 @@ This package works for MeiliSearch `>=0.10.x`.
357360

358361
`index.waitForPendingUpdate(updateId: number, { timeOutMs?: number, intervalMs?: number }): Promise<Update>`
359362

360-
### Documents
363+
### Documents <!-- omit in toc -->
361364

362365
- Add or replace multiple documents:
363366

@@ -383,10 +386,10 @@ This package works for MeiliSearch `>=0.10.x`.
383386

384387
`index.deleteDocuments(documentsIds: string[] | number[]): Promise<EnqueuedUpdate>`
385388

386-
- Delete all documents:
389+
- Delete all documents:
387390
`index.deleteAllDocuments(): Promise<Types.EnqueuedUpdate>`
388391

389-
### Settings
392+
### Settings <!-- omit in toc -->
390393

391394
- Get settings:
392395

@@ -400,7 +403,7 @@ This package works for MeiliSearch `>=0.10.x`.
400403

401404
`index.resetSettings(): Promise<EnqueuedUpdate>`
402405

403-
### Synonyms
406+
### Synonyms <!-- omit in toc -->
404407

405408
- Get synonyms:
406409

@@ -414,7 +417,7 @@ This package works for MeiliSearch `>=0.10.x`.
414417

415418
`index.resetSynonym(): Promise<EnqueuedUpdate>`
416419

417-
### Stop-words
420+
### Stop-words <!-- omit in toc -->
418421

419422
- Get Stop Words
420423
`index.getStopWords(): Promise<string[]>`
@@ -425,7 +428,7 @@ This package works for MeiliSearch `>=0.10.x`.
425428
- Reset Stop Words
426429
`index.resetStopWords(): Promise<EnqueuedUpdate>`
427430

428-
### Ranking rules
431+
### Ranking rules <!-- omit in toc -->
429432

430433
- Get Ranking Rules
431434
`index.getRankingRules(): Promise<string[]>`
@@ -436,7 +439,7 @@ This package works for MeiliSearch `>=0.10.x`.
436439
- Reset Ranking Rules
437440
`index.resetRankingRules(): Promise<EnqueuedUpdate>`
438441

439-
### Distinct Attribute
442+
### Distinct Attribute <!-- omit in toc -->
440443

441444
- Get Distinct Attribute
442445
`index.getDistinctAttribute(): Promise<string | void>`
@@ -447,7 +450,7 @@ This package works for MeiliSearch `>=0.10.x`.
447450
- Reset Distinct Attribute
448451
`index.resetDistinctAttribute(): Promise<EnqueuedUpdate>`
449452

450-
### Searchable Attributes
453+
### Searchable Attributes <!-- omit in toc -->
451454

452455
- Get Searchable Attributes
453456
`index.getSearchableAttributes(): Promise<string[]>`
@@ -458,7 +461,7 @@ This package works for MeiliSearch `>=0.10.x`.
458461
- Reset Searchable Attributes
459462
`index.resetSearchableAttributes(): Promise<EnqueuedUpdate>`
460463

461-
### Displayed Attributes
464+
### Displayed Attributes <!-- omit in toc -->
462465

463466
- Get Displayed Attributes
464467
`index.getDisplayedAttributes(): Promise<string[]>`
@@ -469,39 +472,39 @@ This package works for MeiliSearch `>=0.10.x`.
469472
- Reset Displayed Attributes
470473
`index.resetDisplayedAttributes(): Promise<EnqueuedUpdate>`
471474

472-
### Accept new fields
475+
### Accept new fields <!-- omit in toc -->
473476

474477
- Get Accept new fields
475478
`index.getAcceptNewFields(): Promise<boolean>`
476479

477480
- Update Accept new fields
478481
`index.updateAcceptNewFields(acceptNewFields: boolean): Promise<EnqueuedUpdate>`
479482

480-
### Keys
483+
### Keys <!-- omit in toc -->
481484

482485
- Get keys
483486

484487
`client.getKeys(): Promise<Keys>`
485488

486-
### Healthy
489+
### Healthy <!-- omit in toc -->
487490

488491
- Check if the server is healthy
489492

490493
`client.isHealthy(): Promise<void>`
491494

492-
### Stats
495+
### Stats <!-- omit in toc -->
493496

494497
- Get database stats
495498

496499
`client.stats(): Promise<Stats>`
497500

498-
### Version
501+
### Version <!-- omit in toc -->
499502

500503
- Get binary version
501504

502505
`client.version(): Promise<Version>`
503506

504-
### System
507+
### System <!-- omit in toc -->
505508

506509
- Get system information
507510

0 commit comments

Comments
 (0)