mantis-logstash-output-solr_http 3.0.5.pre.m9 → 3.0.5.pre.m10

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: 2571a640135564746a180702a6f360b97a09f942116bf86ff61249ac989976f5
4
- data.tar.gz: d6e27a7c62cb228880cf8dba26e057395d1c76351dc10026ee19d1d3d1d1a361
3
+ metadata.gz: c3ebceb89588f5cf7dc2f941b49cffb99d30be5ae20be96664d13d092f9f9435
4
+ data.tar.gz: 11c964c729f21115b17611183425b8c3cff86037cac872f94f685af7329b64c9
5
5
  SHA512:
6
- metadata.gz: f6a89896cc25910f3e9fadbc4290506e627f861f437ed9720267042aee21fb5339bc7284a7a40354430a3ebe6902849918da6204b88eb19d702c8f39cab54bda
7
- data.tar.gz: c0738daf44a9055d9c5ea9ac2cffaa7c7cb69dae81808d697a925013e0bdf179dfa4dbe2b8625a839e96cf4633f94f9871f85efdd949c6b121b638391840c81f
6
+ metadata.gz: d14e220cedf87b1679d6e56e761947a960cde4c02b66906ef1deb5cdc6c6046d979f6639fa2caba7d2c661a35f8863bce2d9acad07c0facecc106820b6d8ebe9
7
+ data.tar.gz: 3ab9ea33a1fe6e1470d341ca8c5814a52b7c12266ec61c6ff0e8403f08e4e398e8b164af6b5373a2e7f788502eef59433c55b20a4e28f04a7f42a10262797874
@@ -41,7 +41,7 @@ class LogStash::Outputs::SolrHTTP < LogStash::Outputs::Base
41
41
 
42
42
  # Solr field name of document ID field name.
43
43
  config :document_id_field, :validate => :string, :default => "id"
44
-
44
+
45
45
  public
46
46
  def register
47
47
  require "rsolr"
@@ -82,6 +82,7 @@ class LogStash::Outputs::SolrHTTP < LogStash::Outputs::Base
82
82
  @logger.debug("#{documents[url].length()} documents indexing...")
83
83
  solr.add(documents[url])
84
84
  @logger.debug("#{documents[url].length()} documents indexed.")
85
+ solr.commit :commit_attributes => {}
85
86
  end
86
87
 
87
88
  rescue Exception => e
@@ -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-m9'
4
+ s.version = '3.0.5-m10'
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.m9
4
+ version: 3.0.5.pre.m10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic