jruby_streaming_update_solr_server 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +3 -0
- data/VERSION +1 -1
- data/lib/jruby_streaming_update_solr_server.rb +6 -2
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -63,6 +63,9 @@ Note that you can use threach to multi-thread it all.
|
|
63
63
|
|
64
64
|
=== CHANGES
|
65
65
|
|
66
|
+
0.5.1 (2010.10.05)
|
67
|
+
* Changed the #to_s method to be a little easier to deal with
|
68
|
+
|
66
69
|
0.5.0 (2010.09.16)
|
67
70
|
* Removed a begin/rescue/end block that had been looking for simple argumenterrors for logging; speedup is
|
68
71
|
tremendous.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.1
|
@@ -259,9 +259,13 @@ class SolrInputDocument
|
|
259
259
|
alias_method :additive_merge!, :merge!
|
260
260
|
|
261
261
|
# pretty-print
|
262
|
-
# @return A string representation of the fields and values
|
262
|
+
# @return A string representation of the fields and values. Presumes the id is named 'id'
|
263
263
|
def to_s
|
264
|
-
|
264
|
+
rv = []
|
265
|
+
self.keys.sort.each do |k|
|
266
|
+
rv << [self['id'][0], k, self[k].join('|')].join("\t")
|
267
|
+
end
|
268
|
+
return rv.join("\n")
|
265
269
|
end
|
266
270
|
|
267
271
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jruby_streaming_update_solr_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 1
|
10
|
+
version: 0.5.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bill Dueber
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-10-06 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|