mantis-logstash-output-solr_http 3.0.5.pre.m3 → 3.0.5.pre.m4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b85a86b86108b4321e31f21d99ef2e47350fcc8a8a3e15ca5612358701529bc
4
- data.tar.gz: f43d6e3750760969bbcf1cc321369165d832e67a33b1e536b75f85c816e306d5
3
+ metadata.gz: 7e312a23715f960ec3aff18884337fdfad812e45affbd3560b762fa9fcf03068
4
+ data.tar.gz: 3e48d7f1ddf3ec8cebb26485dbb7d2e16ba97dc21c1740d8d0626621a5de38d8
5
5
  SHA512:
6
- metadata.gz: e7d303be5abce64a9978b090e0a9a9422e201b7ed85d5df0d86ea1cadc0476014615d18d6c3d00a5a0b621b889c0c2c2be20b034165d1775191f6d0d83d7775a
7
- data.tar.gz: fc8ed8cb6ad5a2c02ae491f56fe07c183acf9cfe366691a1cc0371cbfc6fe1252fa7a45ecc80c5e67f48985e7eef83135cd2254c0d42f2f76d863654b06ad8df
6
+ metadata.gz: 789dc0e6587391e86f43ec2a1d76b1637ce844090d2876a44dc015996249f981d455136cb5eeae51941a0bc7adf309e01b08a0c8358bdefab5f5737fde856015
7
+ data.tar.gz: cf3c9a0b723f52b6f7aea973ab4a460a2e22bfa03071e36478ea1823218c1077cb083c1932cd33e2bf12fe25789f5714f501df2d1cecfa74078fdb266387f189
@@ -42,7 +42,6 @@ class LogStash::Outputs::SolrHTTP < LogStash::Outputs::Base
42
42
  public
43
43
  def register
44
44
  require "rsolr"
45
- @solr = RSolr.connect :url => @solr_url
46
45
  buffer_initialize(
47
46
  :max_items => @flush_size,
48
47
  :max_interval => @idle_flush_time,
@@ -59,7 +58,7 @@ class LogStash::Outputs::SolrHTTP < LogStash::Outputs::Base
59
58
  public
60
59
  public
61
60
  def flush(events, close=false)
62
- documents = Hash.new #this is the array of hashes that we push to Solr as documents
61
+ documents = Hash.new
63
62
 
64
63
  events.each do |event|
65
64
  url = event.sprintf(@solr_url)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'mantis-logstash-output-solr_http'
4
- s.version = '3.0.5-m3'
4
+ s.version = '3.0.5-m4'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Stores and indexes logs in Solr"
7
7
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mantis-logstash-output-solr_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5.pre.m3
4
+ version: 3.0.5.pre.m4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic