Skip to content

Commit 107d270

Browse files
committed
Updated readme [skip ci]
1 parent 44b9633 commit 107d270

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ And to search, use:
11821182
```ruby
11831183
Animal.search("*") # all animals
11841184
Dog.search("*") # just dogs
1185-
Animal.search("*").type(Dog, Cat) # just cats and dogs
1185+
Animal.search("*").type(Cat, Dog) # just cats and dogs
11861186
```
11871187

11881188
**Notes:**
@@ -2287,7 +2287,7 @@ Product.search("apples").where(in_stock: true).limit(10).offset(50)
22872287
22882288
All existing options can be used as methods, or you can continue to use the existing API.
22892289
2290-
This release also significantly improves the performance of searches when using conversions. To upgrade without downtime, add `conversions_v2` to your model and an additional field to `search_data`:
2290+
This release also significantly improves the performance of searches when using conversions. To upgrade conversions without downtime, add `conversions_v2` to your model and an additional field to `search_data`:
22912291
22922292
```ruby
22932293
class Product < ApplicationRecord

0 commit comments

Comments
 (0)