Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherpickering committed Mar 8, 2023
1 parent 4331dfc commit 5a4d394
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import { nameSynonyms } from "meilisearch-name-synonyms";

const client = new MeiliSearch({ host: "http://localhost:7700" });

const userIndex = client.index('users')

await userIndex.updateSynonyms(nameSynonyms);

/// or if you need to add in a few more
Expand Down

0 comments on commit 5a4d394

Please sign in to comment.