@@ -271,6 +271,7 @@ await index.search(
271271 "Adventure" : 1
272272 }
273273 }
274+ }
274275```
275276
276277#### Abortable Search <!-- omit in toc -->
@@ -296,7 +297,7 @@ controller.abort()
296297
297298## 🤖 Compatibility with MeiliSearch
298299
299- This package only guarantees the compatibility with the [ version v0.22 .0 of MeiliSearch] ( https://github.com/meilisearch/MeiliSearch/releases/tag/v0.22 .0 ) .
300+ This package only guarantees the compatibility with the [ version v0.23 .0 of MeiliSearch] ( https://github.com/meilisearch/MeiliSearch/releases/tag/v0.23 .0 ) .
300301
301302## 💡 Learn More
302303
@@ -319,54 +320,52 @@ If you want to know more about the development workflow or want to contribute, p
319320
320321### Search <!-- omit in toc -->
321322
322- - Make a search request:
323+ - [ Make a search request] ( https://docs.meilisearch.com/reference/api/search.html ) :
323324
324325` client.index<T>('xxx').search(query: string, options: SearchParams = {}, config?: Partial<Request>): Promise<SearchResponse<T>> `
325326
326- - Make a search request using the GET method (slower than the search method):
327+ - [ Make a search request using the GET method (slower than the search method) ] ( https://docs.meilisearch.com/reference/api/search.html#search-in-an-index-with-get-route ) :
327328
328329` client.index<T>('xxx').searchGet(query: string, options: SearchParams = {}, config?: Partial<Request>): Promise<SearchResponse<T>> `
329330
330331### Indexes <!-- omit in toc -->
331332
332- - Get all indexes:
333+ - [ Get all indexes] ( https://docs.meilisearch.com/reference/api/indexes.html#list-all-indexes ) :
333334
334335` client.getIndexes(): Promise<IndexResponse[]> `
335336
336- - Create a new index:
337+ - [ Create a new index] ( https://docs.meilisearch.com/reference/api/indexes.html#create-an-index ) :
337338
338339` client.createIndex<T>(uid: string, options?: IndexOptions): Promise<Index<T>> `
339340
340341- Create a local reference to an index:
341342
342343` client.index<T>(uid: string): Index<T> `
343344
344- - Get an index:
345-
345+ - [ Get an index instance completed with information fetched from MeiliSearch] ( https://docs.meilisearch.com/reference/api/indexes.html#get-one-index ) :
346346` client.getIndex<T>(uid: string): Promise<Index<T>> `
347347
348- - Get or create an index if it does not exist
348+ - Get or create an index if it does not exist:
349349
350350` client.getOrCreateIndex<T>(uid: string, options?: IndexOptions): Promise<Index<T>> `
351351
352- - Get Index information:
353-
352+ - [ Get an object with information about the index] ( https://docs.meilisearch.com/reference/api/indexes.html#get-one-index ) :
354353` index.getRawInfo(): Promise<IndexResponse> `
355354
356- - Update Index:
355+ - [ Update Index] ( https://docs.meilisearch.com/reference/api/indexes.html#update-an-index ) :
357356
358357` client.updateIndex(uid: string, options: IndexOptions): Promise<Index> `
359358Or using the index object:
360359` index.update(data: IndexOptions): Promise<Index> `
361360
362- - Delete Index:
361+ - [ Delete Index] ( https://docs.meilisearch.com/reference/api/indexes.html#delete-an-index ) :
363362
364363` client.deleteIndex(uid): Promise<void> `
365364Or using the index object:
366- ` index.delete(): Promise<void> `
367365
366+ ` index.delete(): Promise<void> `
368367
369- - Get specific index stats
368+ - [ Get specific index stats] ( https://docs.meilisearch.com/reference/api/stats.html#get-stat-of-an-index ) :
370369
371370` index.getStats(): Promise<IndexStats> `
372371
@@ -380,11 +379,11 @@ Or using the index object:
380379
381380### Updates <!-- omit in toc -->
382381
383- - Get One update info:
382+ - [ Get One update info] ( https://docs.meilisearch.com/reference/api/updates.html#get-an-update-status ) :
384383
385384` index.getUpdateStatus(updateId: number): Promise<Update> `
386385
387- - Get all updates info:
386+ - [ Get all updates info] ( https://docs.meilisearch.com/reference/api/updates.html#get-all-update-status ) :
388387
389388` index.getAllUpdateStatus(): Promise<Update[]> `
390389
@@ -394,176 +393,176 @@ Or using the index object:
394393
395394### Documents <!-- omit in toc -->
396395
397- - Add or replace multiple documents:
396+ - [ Add or replace multiple documents] ( https://docs.meilisearch.com/reference/api/documents.html#add-or-replace-documents ) :
398397
399398` index.addDocuments(documents: Document<T>[]): Promise<EnqueuedUpdate> `
400399
401- - Add or update multiple documents:
400+ - [ Add or update multiple documents] ( https://docs.meilisearch.com/reference/api/documents.html#add-or-update-documents ) :
402401
403402` index.updateDocuments(documents: Document<T>[]): Promise<EnqueuedUpdate> `
404403
405- - Get Documents:
404+ - [ Get Documents] ( https://docs.meilisearch.com/reference/api/documents.html#get-documents ) :
406405
407406` index.getDocuments(params: getDocumentsParams): Promise<Document<T>[]> `
408407
409- - Get one document:
408+ - [ Get one document] ( https://docs.meilisearch.com/reference/api/documents.html#get-one-document ) :
410409
411410` index.getDocument(documentId: string): Promise<Document<T>> `
412411
413- - Delete one document:
412+ - [ Delete one document] ( https://docs.meilisearch.com/reference/api/documents.html#delete-one-document ) :
414413
415414` index.deleteDocument(documentId: string | number): Promise<EnqueuedUpdate> `
416415
417- - Delete multiple documents:
416+ - [ Delete multiple documents] ( https://docs.meilisearch.com/reference/api/documents.html#delete-documents ) :
418417
419418` index.deleteDocuments(documentsIds: string[] | number[]): Promise<EnqueuedUpdate> `
420419
421- - Delete all documents:
420+ - [ Delete all documents] ( https://docs.meilisearch.com/reference/api/documents.html#delete-all-documents ) :
422421
423422` index.deleteAllDocuments(): Promise<Types.EnqueuedUpdate> `
424423
425424### Settings <!-- omit in toc -->
426425
427- - Get settings:
426+ - [ Get settings] ( https://docs.meilisearch.com/reference/api/settings.html#get-settings ) :
428427
429428` index.getSettings(): Promise<Settings> `
430429
431- - Update settings:
430+ - [ Update settings] ( https://docs.meilisearch.com/reference/api/settings.html#update-settings ) :
432431
433432` index.updateSettings(settings: Settings): Promise<EnqueuedUpdate> `
434433
435- - Reset settings:
434+ - [ Reset settings] ( https://docs.meilisearch.com/reference/api/settings.html#reset-settings ) :
436435
437436` index.resetSettings(): Promise<EnqueuedUpdate> `
438437
439438### Synonyms <!-- omit in toc -->
440439
441- - Get synonyms:
440+ - [ Get synonyms] ( https://docs.meilisearch.com/reference/api/synonyms.html#get-synonyms ) :
442441
443442` index.getSynonyms(): Promise<object> `
444443
445- - Update synonyms:
444+ - [ Update synonyms] ( https://docs.meilisearch.com/reference/api/synonyms.html#update-synonyms ) :
446445
447446` index.updateSynonyms(synonyms: Synonyms): Promise<EnqueuedUpdate> `
448447
449- - Reset synonyms:
448+ - [ Reset synonyms] ( https://docs.meilisearch.com/reference/api/synonyms.html#reset-synonyms ) :
450449
451450` index.resetSynonyms(): Promise<EnqueuedUpdate> `
452451
453452### Stop-words <!-- omit in toc -->
454453
455- - Get Stop Words
454+ - [ Get Stop Words] ( https://docs.meilisearch.com/reference/api/stop_words.html#get-stop-words ) :
456455 ` index.getStopWords(): Promise<string[]> `
457456
458- - Update Stop Words
457+ - [ Update Stop Words] ( https://docs.meilisearch.com/reference/api/stop_words.html#update-stop-words ) :
459458 ` index.updateStopWords(stopWords: string[] | null ): Promise<EnqueuedUpdate> `
460459
461- - Reset Stop Words
460+ - [ Reset Stop Words] ( https://docs.meilisearch.com/reference/api/stop_words.html#reset-stop-words ) :
462461 ` index.resetStopWords(): Promise<EnqueuedUpdate> `
463462
464463### Ranking rules <!-- omit in toc -->
465464
466- - Get Ranking Rules
465+ - [ Get Ranking Rules] ( https://docs.meilisearch.com/reference/api/ranking_rules.html#get-ranking-rules ) :
467466 ` index.getRankingRules(): Promise<string[]> `
468467
469- - Update Ranking Rules
468+ - [ Update Ranking Rules] ( https://docs.meilisearch.com/reference/api/ranking_rules.html#update-ranking-rules ) :
470469 ` index.updateRankingRules(rankingRules: string[] | null): Promise<EnqueuedUpdate> `
471470
472- - Reset Ranking Rules
471+ - [ Reset Ranking Rules] ( https://docs.meilisearch.com/reference/api/ranking_rules.html#reset-ranking-rules ) :
473472 ` index.resetRankingRules(): Promise<EnqueuedUpdate> `
474473
475474### Distinct Attribute <!-- omit in toc -->
476475
477- - Get Distinct Attribute
476+ - [ Get Distinct Attribute] ( https://docs.meilisearch.com/reference/api/distinct_attribute.html#get-distinct-attribute ) :
478477 ` index.getDistinctAttribute(): Promise<string | void> `
479478
480- - Update Distinct Attribute
479+ - [ Update Distinct Attribute] ( https://docs.meilisearch.com/reference/api/distinct_attribute.html#update-distinct-attribute ) :
481480 ` index.updateDistinctAttribute(distinctAttribute: string | null): Promise<EnqueuedUpdate> `
482481
483- - Reset Distinct Attribute
482+ - [ Reset Distinct Attribute] ( https://docs.meilisearch.com/reference/api/distinct_attribute.html#reset-distinct-attribute ) :
484483 ` index.resetDistinctAttribute(): Promise<EnqueuedUpdate> `
485484
486485### Searchable Attributes <!-- omit in toc -->
487486
488- - Get Searchable Attributes
487+ - [ Get Searchable Attributes] ( https://docs.meilisearch.com/reference/api/searchable_attributes.html#get-searchable-attributes ) :
489488 ` index.getSearchableAttributes(): Promise<string[]> `
490489
491- - Update Searchable Attributes
490+ - [ Update Searchable Attributes] ( https://docs.meilisearch.com/reference/api/searchable_attributes.html#update-searchable-attributes ) :
492491 ` index.updateSearchableAttributes(searchableAttributes: string[] | null): Promise<EnqueuedUpdate> `
493492
494- - Reset Searchable Attributes
493+ - [ Reset Searchable Attributes] ( https://docs.meilisearch.com/reference/api/searchable_attributes.html#reset-searchable-attributes ) :
495494 ` index.resetSearchableAttributes(): Promise<EnqueuedUpdate> `
496495
497496### Displayed Attributes <!-- omit in toc -->
498497
499- - Get Displayed Attributes
498+ - [ Get Displayed Attributes] ( https://docs.meilisearch.com/reference/api/displayed_attributes.html#get-displayed-attributes ) :
500499 ` index.getDisplayedAttributes(): Promise<string[]> `
501500
502- - Update Displayed Attributes
501+ - [ Update Displayed Attributes] ( https://docs.meilisearch.com/reference/api/displayed_attributes.html#update-displayed-attributes ) :
503502 ` index.updateDisplayedAttributes(displayedAttributes: string[] | null): Promise<EnqueuedUpdate> `
504503
505- - Reset Displayed Attributes
504+ - [ Reset Displayed Attributes] ( https://docs.meilisearch.com/reference/api/displayed_attributes.html#reset-displayed-attributes ) :
506505 ` index.resetDisplayedAttributes(): Promise<EnqueuedUpdate> `
507506
508507### Filterable Attributes <!-- omit in toc -->
509508
510- - Get Filterable Attributes
509+ - [ Get Filterable Attributes] ( https://docs.meilisearch.com/reference/api/filterable_attributes.html#get-filterable-attributes ) :
511510 ` index.getFilterableAttributes(): Promise<string[]> `
512511
513- - Update Filterable Attributes
512+ - [ Update Filterable Attributes] ( https://docs.meilisearch.com/reference/api/filterable_attributes.html#update-filterable-attributes ) :
514513 ` index.updateFilterableAttributes(filterableAttributes: string[] | null): Promise<EnqueuedUpdate> `
515514
516- - Reset Filterable Attributes
515+ - [ Reset Filterable Attributes] ( https://docs.meilisearch.com/reference/api/filterable_attributes.html#reset-filterable-attributes ) :
517516 ` index.resetFilterableAttributes(): Promise<EnqueuedUpdate> `
518517
519518### Sortable Attributes <!-- omit in toc -->
520519
521- - Get Sortable Attributes
520+ - [ Get Sortable Attributes] ( https://docs.meilisearch.com/reference/api/sortable_attributes.html#get-sortable-attributes ) :
522521 ` index.getSortableAttributes(): Promise<string[]> `
523522
524- - Update Sortable Attributes
523+ - [ Update Sortable Attributes] ( https://docs.meilisearch.com/reference/api/sortable_attributes.html#update-sortable-attributes ) :
525524 ` index.updateSortableAttributes(sortableAttributes: string[] | null): Promise<EnqueuedUpdate> `
526525
527- - Reset Sortable Attributes
526+ - [ Reset Sortable Attributes] ( https://docs.meilisearch.com/reference/api/sortable_attributes.html#reset-sortable-attributes ) :
528527 ` index.resetSortableAttributes(): Promise<EnqueuedUpdate> `
529528
530529### Keys <!-- omit in toc -->
531530
532- - Get keys
531+ - [ Get keys] ( https://docs.meilisearch.com/reference/api/keys.html#get-keys ) :
533532
534533` client.getKeys(): Promise<Keys> `
535534
536535### isHealthy <!-- omit in toc -->
537536
538- - Return ` true ` or ` false ` depending on the health of the server.
537+ - [ Return ` true ` or ` false ` depending on the health of the server] ( https://docs.meilisearch.com/reference/api/health.html#get-health ) :
539538
540539` client.isHealthy(): Promise<boolean> `
541540
542541### Health <!-- omit in toc -->
543542
544- - Check if the server is healthy
543+ - [ Check if the server is healthy] ( https://docs.meilisearch.com/reference/api/health.html#get-health ) :
545544
546545` client.health(): Promise<Health> `
547546
548547### Stats <!-- omit in toc -->
549548
550- - Get database stats
549+ - [ Get database stats] ( https://docs.meilisearch.com/reference/api/stats.html#get-stats-of-all-indexes ) :
551550
552551` client.getStats(): Promise<Stats> `
553552
554553### Version <!-- omit in toc -->
555554
556- - Get binary version
555+ - [ Get binary version] ( https://docs.meilisearch.com/reference/api/version.html#get-version-of-meilisearch ) :
557556
558557` client.getVersion(): Promise<Version> `
559558
560559### Dumps <!-- omit in toc -->
561560
562- - Trigger a dump creation process
561+ - [ Trigger a dump creation process] ( https://docs.meilisearch.com/reference/api/dump.html#create-a-dump ) :
563562
564563` client.createDump(): Promise<Types.EnqueuedDump> `
565564
566- - Get the status of a dump creation process
565+ - [ Get the status of a dump creation process] ( https://docs.meilisearch.com/reference/api/dump.html#get-dump-status ) :
567566
568567` client.getDumpStatus(dumpUid: string): Promise<Types.EnqueuedDump> `
569568
0 commit comments