Skip to content

Commit 47c3d2e

Browse files
Update README.md.erb
Corrected grammatical and spelling errors
1 parent bfc0f8b commit 47c3d2e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎README.md.erb‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ Search API features non-blocking search using the option: `async=true`.
123123
- Blocking - async=false - many processes must be forked and synchronized to handle concurrent searches. This strategy is I/O usage because each client would hold a network connection.
124124

125125
Search API enables `async` search.
126-
- Non-blocking (`async=true`) : the development is more complex, but this allows handling many simultaneous connections.
127-
- Blocking (`async=false`) : it is easy to write the code but more compute-intensive when the parent process needs to hold many connections.
126+
- Non-blocking (`async=true`): the development is more complex, but this allows handling many simultaneous connections.
127+
- Blocking (`async=false`): it is easy to write the code, but more compute-intensive when the parent process needs to hold many connections.
128128

129129
Here is an example of asynchronous searches using Ruby
130130
```ruby
@@ -146,7 +146,7 @@ puts "Last search submited at: #{result[:search_metadata][:created_at]}"
146146
puts 'wait 10s for all requests to be completed '
147147
sleep(10)
148148

149-
puts 'wait until all searches are cached or success'
149+
puts 'wait until all searches are cached or successful'
150150
until schedule_search.empty?
151151
search_id = schedule_search.pop
152152

0 commit comments

Comments
 (0)