fluent-plugin-output-solr 0.2.6 → 0.2.7

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: 1fc4ed86ecb005f35652125f84d6e2d17e3bf373
4
- data.tar.gz: 1af715995e325a369bf42d27ff427f1d224df527
3
+ metadata.gz: 18c89bd6f35fce6953e3f71be317ef225e37b7cc
4
+ data.tar.gz: 89e351fbf242e21338a24ca5b1fe54aa584b7543
5
5
  SHA512:
6
- metadata.gz: a63284a8e6d44e58983042d74b36ff5c073300eea35ed00c4677570c5d462985462b05bbd57ef8aa44a886ea082f84be4d1b22f23fb7aada917e0cf77f50d171
7
- data.tar.gz: 2de7a4d203ce3231d46a7fb3310ed8762a872f791353717712712eebb8d15ec31b2cacdaee5836878023bfa0dfa3b5298ab4cf852dcefdbad17e0bdbdd2a021c
6
+ metadata.gz: 65da763589ae54399d739546e4a3b6775647cf2b75c0e8fe024fee03aef412dc548c858e7f728b9621da48239946d1bad4016c1ceb2897db845b74f3231f2bdb
7
+ data.tar.gz: d642c35239c2501fb5d5664357929444dc17055b3fd096750ddf30f6641484cbee6143fc1235f5a108d65d550eaf8ba6623f8e27a22b4ccc16ac2109ee9af952
data/.gitignore CHANGED
@@ -35,3 +35,5 @@ build/
35
35
  .rvmrc
36
36
 
37
37
  Gemfile.lock
38
+ zookeeper/
39
+
data/README.md CHANGED
@@ -68,14 +68,6 @@ A field name of unique key in the Solr schema.xml. If omitted, it will get uniqu
68
68
  unique_key_field id
69
69
  ```
70
70
 
71
- ### tag_field
72
-
73
- A field name of fluentd tag in the Solr schema.xml (default tag).
74
-
75
- ```
76
- tag_field tag
77
- ```
78
-
79
71
  ### timestamp_field
80
72
 
81
73
  A field name of event timestamp in the Solr schema.xml (default event_timestamp).
@@ -190,8 +182,8 @@ $ cp -pr server/solr server/solr2
190
182
  4.Start SolrCloud
191
183
 
192
184
  ```sh
193
- $ ./bin/solr start -p 8983 -z localhost:2181/solr -s server/solr1
194
- $ ./bin/solr start -p 8985 -z localhost:2181/solr -s server/solr2
185
+ $ ./bin/solr start -h localhost -p 8983 -z localhost:2181/solr -s server/solr1
186
+ $ ./bin/solr start -h localhost -p 8985 -z localhost:2181/solr -s server/solr2
195
187
  ```
196
188
 
197
189
  5.Create collection
@@ -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.2.6"
7
+ spec.version = "0.2.7"
8
8
  spec.authors = ["Minoru Osuka"]
9
9
  spec.email = ["minoru.osuka@gmail.com"]
10
10
 
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_runtime_dependency 'rsolr-cloud', '~> 1.0.0'
26
26
 
27
27
  spec.add_development_dependency 'bundler', '~> 1.11.2'
28
- spec.add_development_dependency 'rake', '~> 10.4.2'
28
+ spec.add_development_dependency 'rake', '~> 10.5.0'
29
29
  spec.add_development_dependency 'test-unit', '~> 3.1.5'
30
30
  spec.add_development_dependency 'minitest', '~> 5.8.3'
31
31
  spec.add_development_dependency 'webmock', '~> 1.22.3'
@@ -127,16 +127,6 @@ module Fluent
127
127
  update documents unless documents.empty?
128
128
  end
129
129
 
130
- def to_boolean(string)
131
- if string== true || string =~ (/(true|t|yes|y|1)$/i) then
132
- return true
133
- elsif string== false || string.nil? || string =~ (/(false|f|no|n|0)$/i)
134
- return false
135
- else
136
- return false
137
- end
138
- end
139
-
140
130
  def update(documents)
141
131
  if @mode == MODE_STANDALONE then
142
132
  @solr.add documents, :params => {:commit => true}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-output-solr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minoru Osuka
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-25 00:00:00.000000000 Z
11
+ date: 2016-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: 10.4.2
89
+ version: 10.5.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: 10.4.2
96
+ version: 10.5.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: test-unit
99
99
  requirement: !ruby/object:Gem::Requirement