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