File tree 1 file changed +5
-13
lines changed
1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -369,12 +369,11 @@ add_movies_json_1: |-
369
369
movies_json = File.read('movies.json')
370
370
movies = JSON.parse(movies_json)
371
371
client.index('movies').add_documents(movies)
372
- getting_started_add_documents_md : |-
373
- ```bash
374
- $ bundle add meilisearch
375
- ```
372
+ getting_started_add_documents : |-
373
+ # In the command line:
374
+ # bundle add meilisearch
376
375
377
- ```ruby
376
+ # In your .rb file:
378
377
require 'json'
379
378
require 'meilisearch'
380
379
@@ -384,15 +383,8 @@ getting_started_add_documents_md: |-
384
383
movies = JSON.parse(movies_json)
385
384
386
385
client.index('movies').add_documents(movies)
387
- ```
388
-
389
- [About this SDK](https://www.github.com/meilisearch/meilisearch-ruby)
390
- getting_started_search_md : |-
391
- ```ruby
386
+ getting_started_search : |-
392
387
client.index('movies').search('botman')
393
- ```
394
-
395
- [About this SDK](https://www.github.com/meilisearch/meilisearch-ruby)
396
388
filtering_update_settings_1 : |-
397
389
client.index('movies').update_filterable_attributes([
398
390
'director',
You can’t perform that action at this time.
0 commit comments