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 +4 -4
- data/.gitignore +2 -0
- data/README.md +2 -10
- data/fluent-plugin-output-solr.gemspec +2 -2
- data/lib/fluent/plugin/out_solr.rb +0 -10
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18c89bd6f35fce6953e3f71be317ef225e37b7cc
|
4
|
+
data.tar.gz: 89e351fbf242e21338a24ca5b1fe54aa584b7543
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65da763589ae54399d739546e4a3b6775647cf2b75c0e8fe024fee03aef412dc548c858e7f728b9621da48239946d1bad4016c1ceb2897db845b74f3231f2bdb
|
7
|
+
data.tar.gz: d642c35239c2501fb5d5664357929444dc17055b3fd096750ddf30f6641484cbee6143fc1235f5a108d65d550eaf8ba6623f8e27a22b4ccc16ac2109ee9af952
|
data/.gitignore
CHANGED
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.
|
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.
|
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.
|
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
|
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.
|
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.
|
96
|
+
version: 10.5.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: test-unit
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|