fluent-plugin-output-solr 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b071a789884c5bdf3eb76b29adebf3d32c09985
4
- data.tar.gz: 52c7098751a1e2a6ca4f9a610377172550d0d814
3
+ metadata.gz: cfe7878fa277adfcf88260844c0644e920689f95
4
+ data.tar.gz: 7d0861f10e57aa097232360b8ba2e2f742472972
5
5
  SHA512:
6
- metadata.gz: 0afa6e80d47a36e8da392cf3da16e3f28feedfae06de5eb21ade7d1bbcb95cd38c527e72a796620b95b26c53559c86f87d8cf536710c1ccb13064f9024a54370
7
- data.tar.gz: 8011e9cb8ac38095023d90321f3a7fb80bf9e132a8964d1e4a4f44a3605754b43708456836bda313dad1411e8887f5b83ed1c6b543277f977e56b6b69c545125
6
+ metadata.gz: fb64decb6d5289c6849c4fb1fbdd0997e4d5af9c6ccac53993ae34f7596773f40272ed841eaec7779e80778075ebdca938ce371918cb4860e7dd09b72874f5ba
7
+ data.tar.gz: 942db00d5ee2a095c63ac99fd7849b038347fa274535655c51b023b09ec0018293dedd83a6f3f679c2c195c7346669e94282ebb636954547ef4b748cdcf7926d
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-output-solr"
7
- spec.version = "0.4.2"
7
+ spec.version = "0.4.3"
8
8
  spec.authors = ["Minoru Osuka"]
9
9
  spec.email = ["minoru.osuka@gmail.com"]
10
10
 
@@ -137,10 +137,10 @@ module Fluent
137
137
  def update(documents)
138
138
  if @mode == MODE_STANDALONE then
139
139
  @solr.add documents, :params => {:commit => true}
140
- log.info "Added %d document(s) to Solr" % documents.count
140
+ log.debug "Added %d document(s) to Solr" % documents.count
141
141
  elsif @mode == MODE_SOLRCLOUD then
142
142
  @solr.add documents, collection: @collection, :params => {:commit => true}
143
- log.info "Update: Added %d document(s) to Solr" % documents.count
143
+ log.debug "Update: Added %d document(s) to Solr" % documents.count
144
144
  end
145
145
  rescue Exception => e
146
146
  log.warn "Update: An error occurred while indexing: #{e.message}"
@@ -156,7 +156,7 @@ module Fluent
156
156
  end
157
157
 
158
158
  unique_key = response['uniqueKey']
159
- log.info "Unique key: #{unique_key}"
159
+ log.debug "Unique key: #{unique_key}"
160
160
 
161
161
  return unique_key
162
162
 
@@ -177,7 +177,7 @@ module Fluent
177
177
  response['fields'].each do |field|
178
178
  fields.push(field['name'])
179
179
  end
180
- log.info "Fields: #{fields}"
180
+ log.debug "Fields: #{fields}"
181
181
 
182
182
  return fields
183
183
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-output-solr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minoru Osuka