|
3 | 3 | # the documentation on build |
4 | 4 | # You can read more on https://github.com/meilisearch/documentation/tree/master/.vuepress/code-samples |
5 | 5 | --- |
| 6 | +getting_started_typo_tolerance: |- |
| 7 | +
|
6 | 8 | get_one_index_1: |- |
7 | 9 | client.index('movies').getRawInfo() |
8 | 10 | list_all_indexes_1: |- |
@@ -412,7 +414,7 @@ getting_started_add_documents_md: |- |
412 | 414 |
|
413 | 415 | **Use** |
414 | 416 | ```js |
415 | | - const client = new MeiliSearch({ host: 'http://127.0.0.1:7700' }) |
| 417 | + const client = new MeiliSearch({ host: 'http://localhost:7700' }) |
416 | 418 | client.index('movie').addDocuments(movies) |
417 | 419 | .then((res) => console.log(res)) |
418 | 420 | ``` |
@@ -455,7 +457,7 @@ getting_started_update_displayed_attributes: |- |
455 | 457 | 'poster' |
456 | 458 | ]) |
457 | 459 | getting_started_communicating_with_a_protected_instance: |- |
458 | | - const client = new MeiliSearch('http://127.0.0.1:7700', 'apiKey') |
| 460 | + const client = new MeiliSearch('http://localhost:7700', 'apiKey') |
459 | 461 | client.index('movies').search() |
460 | 462 | getting_started_add_meteorites: |- |
461 | 463 | const meteorites = require('./meteorites.json') |
@@ -626,10 +628,10 @@ tenant_token_guide_generate_sdk_1: |- |
626 | 628 | expiresAt: expiresAt, |
627 | 629 | }) |
628 | 630 | tenant_token_guide_search_sdk_1: |- |
629 | | - const frontEndClient = new MeiliSearch({ host: 'http://127.0.0.1:7700', apiKey: token }) |
| 631 | + const frontEndClient = new MeiliSearch({ host: 'http://localhost:7700', apiKey: token }) |
630 | 632 | frontEndClient.index('patient_medical_records').search('blood test') |
631 | 633 | landing_getting_started_1: |- |
632 | | - const client = new MeiliSearch('http://127.0.0.1:7700', 'masterKey') |
| 634 | + const client = new MeiliSearch('http://localhost:7700', 'masterKey') |
633 | 635 |
|
634 | 636 | await client.index('movies').addDocuments([ |
635 | 637 | { 'id': 1, 'title': 'Carol' }, |
|
0 commit comments