elastic_searchable 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -205,10 +205,10 @@ module ElasticSearchable
|
|
205
205
|
response = ElasticSearchable.request :put, self.class.index_mapping_path(self.id), :query => query, :json_body => self.as_json_for_index
|
206
206
|
|
207
207
|
self.index_lifecycle = lifecycle ? lifecycle.to_sym : nil
|
208
|
-
|
208
|
+
run_callbacks :index
|
209
209
|
|
210
210
|
@percolations = response['matches'] || []
|
211
|
-
|
211
|
+
run_callbacks :percolate if @percolations.any?
|
212
212
|
end
|
213
213
|
|
214
214
|
# document to index in elasticsearch
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elastic_searchable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -212,7 +212,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
212
212
|
version: '0'
|
213
213
|
segments:
|
214
214
|
- 0
|
215
|
-
hash: -
|
215
|
+
hash: -2976528035925970423
|
216
216
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
217
217
|
none: false
|
218
218
|
requirements:
|
@@ -221,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
221
|
version: '0'
|
222
222
|
segments:
|
223
223
|
- 0
|
224
|
-
hash: -
|
224
|
+
hash: -2976528035925970423
|
225
225
|
requirements: []
|
226
226
|
rubyforge_project: elastic_searchable
|
227
227
|
rubygems_version: 1.8.24
|