ryansch-ts-resque-delta 1.1.5.4.dev → 1.1.5.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -91,20 +91,13 @@ class ThinkingSphinx::Deltas::ResqueDelta::DeltaJob
|
|
91
91
|
end
|
92
92
|
|
93
93
|
def self.filter_flag_as_deleted_ids(ids, index)
|
94
|
-
#config = ThinkingSphinx::Configuration.instance
|
95
|
-
#client = config.client
|
96
|
-
#client.open
|
97
|
-
|
98
94
|
search_results = []
|
99
95
|
partition_ids(ids, 4096) do |subset|
|
100
96
|
search_results += ThinkingSphinx.search_for_ids(
|
101
|
-
:with => {:@id => subset}, :index => index
|
97
|
+
:with => {:@id => subset}, :index => index
|
102
98
|
).results[:matches].collect { |match| match[:doc] }
|
103
|
-
#client.reset
|
104
99
|
end
|
105
100
|
|
106
|
-
#client.close
|
107
|
-
|
108
101
|
search_results
|
109
102
|
end
|
110
103
|
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ryansch-ts-resque-delta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 75
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
9
|
- 5
|
10
10
|
- 4
|
11
|
-
|
12
|
-
version: 1.1.5.4.dev
|
11
|
+
version: 1.1.5.4
|
13
12
|
platform: ruby
|
14
13
|
authors:
|
15
14
|
- Aaron Gibralter
|
@@ -360,14 +359,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
360
359
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
361
360
|
none: false
|
362
361
|
requirements:
|
363
|
-
- - "
|
362
|
+
- - ">="
|
364
363
|
- !ruby/object:Gem::Version
|
365
|
-
hash:
|
364
|
+
hash: 3
|
366
365
|
segments:
|
367
|
-
-
|
368
|
-
|
369
|
-
- 1
|
370
|
-
version: 1.3.1
|
366
|
+
- 0
|
367
|
+
version: "0"
|
371
368
|
requirements: []
|
372
369
|
|
373
370
|
rubyforge_project: ts-resque-delta
|