Commit 856f8fc97da625a16b5deb4bc18d58fbf9f36548

Authored by Andrew Kane
1 parent 2652a192

Version bump to 1.2.1

CHANGELOG.md
1   -## 1.2.1 [unreleased]
  1 +## 1.2.1
2 2  
3 3 - Added `multi_search` method
4 4 - Added support for routing for Elasticsearch 2
... ...
README.md
... ... @@ -830,7 +830,7 @@ Also supports [additional options](https://www.elastic.co/guide/en/elasticsearch
830 830 City.search "san", boost_by_distance: {field: :location, origin: {lat: 37, lon: -122}, function: :linear, scale: "30mi", decay: 0.5}
831 831 ```
832 832  
833   -### Routing [master]
  833 +### Routing
834 834  
835 835 Searchkick supports [Elasticsearch’s routing feature](https://www.elastic.co/blog/customizing-your-document-routing).
836 836  
... ... @@ -1092,7 +1092,7 @@ products =
1092 1092 end
1093 1093 ```
1094 1094  
1095   -### Multi Search [master]
  1095 +### Multi Search
1096 1096  
1097 1097 To batch search requests for performance, use:
1098 1098  
... ... @@ -1104,7 +1104,7 @@ Searchkick.multi_search([fresh_products, frozen_products])
1104 1104  
1105 1105 Then use `fresh_products` and `frozen_products` as typical results.
1106 1106  
1107   -**Note:** Errors are not raised as with single requests. Use the `error` method on each query to check for errors. Also, the misspellings `below` option is ignored.
  1107 +**Note:** Errors are not raised as with single requests. Use the `error` method on each query to check for errors. Also, the `below` option for misspellings is ignored.
1108 1108  
1109 1109 ## Reference
1110 1110  
... ... @@ -1264,7 +1264,7 @@ class Product < ActiveRecord::Base
1264 1264 end
1265 1265 ```
1266 1266  
1267   -Search multiple models [master]
  1267 +Search multiple models
1268 1268  
1269 1269 ```ruby
1270 1270 Searchkick.search "milk", index_name: [Product, Category]
... ...
lib/searchkick/version.rb
1 1 module Searchkick
2   - VERSION = "1.2.0"
  2 + VERSION = "1.2.1"
3 3 end
... ...