rjack-lucene 3.6.0.0-java

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.
data/History.rdoc ADDED
@@ -0,0 +1,2 @@
1
+ === 3.6.0.0 (2012-7-16)
2
+ * Initial release based on Lucene 3.6.0
data/Manifest.txt ADDED
@@ -0,0 +1,28 @@
1
+ History.rdoc
2
+ Manifest.txt
3
+ NOTICE.txt
4
+ README.rdoc
5
+ Rakefile
6
+ assembly.xml
7
+ pom.xml
8
+ lib/rjack-lucene/base.rb
9
+ lib/rjack-lucene.rb
10
+ lib/rjack-lucene/icu.rb
11
+ test/test_lucene.rb
12
+ lib/rjack-lucene/jakarta-regexp-1.4.jar
13
+ lib/rjack-lucene/lucene-analyzers-3.6.0.jar
14
+ lib/rjack-lucene/lucene-core-3.6.0.jar
15
+ lib/rjack-lucene/lucene-facet-3.6.0.jar
16
+ lib/rjack-lucene/lucene-grouping-3.6.0.jar
17
+ lib/rjack-lucene/lucene-highlighter-3.6.0.jar
18
+ lib/rjack-lucene/lucene-icu-3.6.0.jar
19
+ lib/rjack-lucene/lucene-instantiated-3.6.0.jar
20
+ lib/rjack-lucene/lucene-join-3.6.0.jar
21
+ lib/rjack-lucene/lucene-memory-3.6.0.jar
22
+ lib/rjack-lucene/lucene-misc-3.6.0.jar
23
+ lib/rjack-lucene/lucene-phonetic-3.6.0.jar
24
+ lib/rjack-lucene/lucene-pruning-3.6.0.jar
25
+ lib/rjack-lucene/lucene-queries-3.6.0.jar
26
+ lib/rjack-lucene/lucene-queryparser-3.6.0.jar
27
+ lib/rjack-lucene/lucene-spatial-3.6.0.jar
28
+ lib/rjack-lucene/lucene-spellchecker-3.6.0.jar
data/NOTICE.txt ADDED
@@ -0,0 +1,7 @@
1
+ rjack-lucene gem
2
+ Copyright (c) 2012 David Kellum
3
+
4
+ This product includes software developed by:
5
+
6
+ Apache Lucene
7
+ Copyright (c) 2012 The Apache Software Foundation.
data/README.rdoc ADDED
@@ -0,0 +1,61 @@
1
+ = rjack-lucene
2
+
3
+ * http://rjack.rubyforge.org/lucene
4
+ * http://rjack.rubyforge.org
5
+ * https://github.com/dekellum/rjack
6
+
7
+ == Description
8
+
9
+ A gem packaging of {Lucene}[http://lucene.apache.org].
10
+
11
+ The entire Lucene release set of jars is included minus the following,
12
+ due to size or extra dependencies:
13
+
14
+ +lucene-benchmark+: Requires misc additional dependencies, excluded.
15
+
16
+ +lucene-remote+: Java RMI: any one using it?
17
+
18
+ +lucene-kuromuji+: Japanese morphological analyzer/tokenizer, excluded
19
+ for size.
20
+
21
+ +lucene-smartcn+: Chinese Analyzer, exclude for size.
22
+
23
+ Create a github issue/patch if you'd like to see any of these
24
+ packaged, possibly as add-on gems, i.e. +rjack-lucene-ja+.
25
+
26
+ In addition, +lucene-icu+ is included, but optionally require'd via
27
+ rjack-lucene/icu and depends on rjack-icu.
28
+
29
+ == License
30
+
31
+ === rjack-lucene gem
32
+
33
+ Copyright (c) 2012 David Kellum
34
+
35
+ Licensed under the Apache License, Version 2.0 (the "License"); you
36
+ may not use this file except in compliance with the License. You
37
+ may obtain a copy of the License at:
38
+
39
+ http://www.apache.org/licenses/LICENSE-2.0
40
+
41
+ Unless required by applicable law or agreed to in writing, software
42
+ distributed under the License is distributed on an "AS IS" BASIS,
43
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
44
+ implied. See the License for the specific language governing
45
+ permissions and limitations under the License.
46
+
47
+ === Lucene (java)
48
+
49
+ Copyright (c) 2012 The Apache Software Foundation
50
+
51
+ Licensed under the Apache License, Version 2.0 (the "License"); you
52
+ may not use this file except in compliance with the License. You
53
+ may obtain a copy of the License at:
54
+
55
+ http://www.apache.org/licenses/LICENSE-2.0
56
+
57
+ Unless required by applicable law or agreed to in writing, software
58
+ distributed under the License is distributed on an "AS IS" BASIS,
59
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
60
+ implied. See the License for the specific language governing
61
+ permissions and limitations under the License.
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'bundler/setup'
5
+ require 'rjack-tarpit'
6
+
7
+ RJack::TarPit.new( 'rjack-lucene' ) do |tp|
8
+
9
+ tp.rdoc_destinations <<
10
+ 'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/lucene'
11
+
12
+ end
data/assembly.xml ADDED
@@ -0,0 +1,16 @@
1
+ <assembly>
2
+ <id>bin</id>
3
+ <formats>
4
+ <format>dir</format>
5
+ </formats>
6
+ <includeBaseDirectory>false</includeBaseDirectory>
7
+ <dependencySets>
8
+ <dependencySet>
9
+ <useProjectArtifact>false</useProjectArtifact>
10
+ <excludes>
11
+ <exclude>commons-codec:commons-codec</exclude>
12
+ <exclude>com.ibm.icu:icu4j</exclude>
13
+ </excludes>
14
+ </dependencySet>
15
+ </dependencySets>
16
+ </assembly>
@@ -0,0 +1,29 @@
1
+ #--
2
+ # Copyright (c) 2012 David Kellum
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
5
+ # may not use this file except in compliance with the License. You
6
+ # may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
+ # implied. See the License for the specific language governing
14
+ # permissions and limitations under the License.
15
+ #++
16
+
17
+ require 'rjack-commons-codec'
18
+
19
+ require 'rjack-lucene/base'
20
+
21
+ require 'java'
22
+
23
+ module RJack
24
+ module Lucene
25
+ Dir.glob( File.join( LIB_DIR, '*.jar' ) ).
26
+ reject { |jar| jar =~ /lucene-icu-/ }. # via rjack-lucene/icu
27
+ each { |jar| require jar }
28
+ end
29
+ end
@@ -0,0 +1,28 @@
1
+ #--
2
+ # Copyright (c) 2012 David Kellum
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
5
+ # may not use this file except in compliance with the License. You
6
+ # may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
+ # implied. See the License for the specific language governing
14
+ # permissions and limitations under the License.
15
+ #++
16
+
17
+ module RJack
18
+ module Lucene
19
+
20
+ # Lucene (java) version
21
+ CORE_VERSION = '3.6.0'
22
+
23
+ # rjack gem version
24
+ VERSION = CORE_VERSION + '.0'
25
+
26
+ LIB_DIR = File.dirname( __FILE__ ) # :nodoc:
27
+ end
28
+ end
@@ -0,0 +1,28 @@
1
+ #--
2
+ # Copyright (c) 2012 David Kellum
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
5
+ # may not use this file except in compliance with the License. You
6
+ # may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
+ # implied. See the License for the specific language governing
14
+ # permissions and limitations under the License.
15
+ #++
16
+
17
+ require 'rjack-lucene/base'
18
+ require 'rjack-lucene'
19
+
20
+ require 'rjack-icu'
21
+
22
+ module RJack
23
+ module Lucene
24
+
25
+ require "#{LIB_DIR}/lucene-icu-#{CORE_VERSION}.jar"
26
+
27
+ end
28
+ end
data/pom.xml ADDED
@@ -0,0 +1,122 @@
1
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2
+
3
+ <modelVersion>4.0.0</modelVersion>
4
+ <groupId>rjack</groupId>
5
+ <artifactId>rjack-lucene</artifactId>
6
+ <packaging>pom</packaging>
7
+ <version>1.0</version>
8
+ <name>Lucene for Gem</name>
9
+
10
+ <properties>
11
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12
+ </properties>
13
+
14
+ <dependencies>
15
+ <dependency>
16
+ <groupId>org.apache.lucene</groupId>
17
+ <artifactId>lucene-analyzers</artifactId>
18
+ <version>3.6.0</version>
19
+ </dependency>
20
+ <dependency>
21
+ <groupId>org.apache.lucene</groupId>
22
+ <artifactId>lucene-core</artifactId>
23
+ <version>3.6.0</version>
24
+ </dependency>
25
+ <dependency>
26
+ <groupId>org.apache.lucene</groupId>
27
+ <artifactId>lucene-facet</artifactId>
28
+ <version>3.6.0</version>
29
+ </dependency>
30
+ <dependency>
31
+ <groupId>org.apache.lucene</groupId>
32
+ <artifactId>lucene-grouping</artifactId>
33
+ <version>3.6.0</version>
34
+ </dependency>
35
+ <dependency>
36
+ <groupId>org.apache.lucene</groupId>
37
+ <artifactId>lucene-highlighter</artifactId>
38
+ <version>3.6.0</version>
39
+ </dependency>
40
+ <dependency>
41
+ <groupId>org.apache.lucene</groupId>
42
+ <artifactId>lucene-icu</artifactId>
43
+ <version>3.6.0</version>
44
+ </dependency>
45
+ <dependency>
46
+ <groupId>org.apache.lucene</groupId>
47
+ <artifactId>lucene-instantiated</artifactId>
48
+ <version>3.6.0</version>
49
+ </dependency>
50
+ <dependency>
51
+ <groupId>org.apache.lucene</groupId>
52
+ <artifactId>lucene-join</artifactId>
53
+ <version>3.6.0</version>
54
+ </dependency>
55
+ <dependency>
56
+ <groupId>org.apache.lucene</groupId>
57
+ <artifactId>lucene-memory</artifactId>
58
+ <version>3.6.0</version>
59
+ </dependency>
60
+ <dependency>
61
+ <groupId>org.apache.lucene</groupId>
62
+ <artifactId>lucene-misc</artifactId>
63
+ <version>3.6.0</version>
64
+ </dependency>
65
+ <dependency>
66
+ <groupId>org.apache.lucene</groupId>
67
+ <artifactId>lucene-phonetic</artifactId>
68
+ <version>3.6.0</version>
69
+ </dependency>
70
+ <dependency>
71
+ <groupId>org.apache.lucene</groupId>
72
+ <artifactId>lucene-pruning</artifactId>
73
+ <version>3.6.0</version>
74
+ </dependency>
75
+ <dependency>
76
+ <groupId>org.apache.lucene</groupId>
77
+ <artifactId>lucene-queries</artifactId>
78
+ <version>3.6.0</version>
79
+ </dependency>
80
+ <dependency>
81
+ <groupId>org.apache.lucene</groupId>
82
+ <artifactId>lucene-queryparser</artifactId>
83
+ <version>3.6.0</version>
84
+ </dependency>
85
+ <dependency>
86
+ <groupId>org.apache.lucene</groupId>
87
+ <artifactId>lucene-spatial</artifactId>
88
+ <version>3.6.0</version>
89
+ </dependency>
90
+ <dependency>
91
+ <groupId>org.apache.lucene</groupId>
92
+ <artifactId>lucene-spellchecker</artifactId>
93
+ <version>3.6.0</version>
94
+ </dependency>
95
+ </dependencies>
96
+
97
+ <build>
98
+ <plugins>
99
+ <plugin>
100
+ <artifactId>maven-assembly-plugin</artifactId>
101
+ <version>2.2.1</version>
102
+ <configuration>
103
+ <attach>false</attach>
104
+ <ignoreDirFormatExtensions>false</ignoreDirFormatExtensions>
105
+ <descriptors>
106
+ <descriptor>assembly.xml</descriptor>
107
+ </descriptors>
108
+ </configuration>
109
+ <executions>
110
+ <execution>
111
+ <id>assembly</id>
112
+ <phase>package</phase>
113
+ <goals>
114
+ <goal>single</goal>
115
+ </goals>
116
+ </execution>
117
+ </executions>
118
+ </plugin>
119
+ </plugins>
120
+ </build>
121
+
122
+ </project>
@@ -0,0 +1,37 @@
1
+ #!/usr/bin/env jruby
2
+ #.hashdot.profile += jruby-shortlived
3
+
4
+ #--
5
+ # Copyright (c) 2012 David Kellum
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
8
+ # may not use this file except in compliance with the License. You
9
+ # may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
16
+ # implied. See the License for the specific language governing
17
+ # permissions and limitations under the License.
18
+ #++
19
+
20
+ require 'rubygems'
21
+ require 'bundler/setup'
22
+
23
+ require 'minitest/unit'
24
+ require 'minitest/autorun'
25
+
26
+ require 'rjack-lucene'
27
+ require 'rjack-lucene/icu'
28
+
29
+ class TestLucene < MiniTest::Unit::TestCase
30
+
31
+ import 'org.apache.lucene.LucenePackage'
32
+
33
+ def test_load
34
+ assert( LucenePackage )
35
+ end
36
+
37
+ end
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rjack-lucene
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 3.6.0.0
6
+ platform: java
7
+ authors:
8
+ - David Kellum
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2012-07-17 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rjack-commons-codec
17
+ version_requirements: &id001 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: 1.6.0
23
+ requirement: *id001
24
+ prerelease: false
25
+ type: :runtime
26
+ - !ruby/object:Gem::Dependency
27
+ name: minitest
28
+ version_requirements: &id002 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: "2.2"
34
+ requirement: *id002
35
+ prerelease: false
36
+ type: :development
37
+ - !ruby/object:Gem::Dependency
38
+ name: rjack-icu
39
+ version_requirements: &id003 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: 4.8.1.1
45
+ requirement: *id003
46
+ prerelease: false
47
+ type: :development
48
+ - !ruby/object:Gem::Dependency
49
+ name: rjack-tarpit
50
+ version_requirements: &id004 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: "2.0"
56
+ requirement: *id004
57
+ prerelease: false
58
+ type: :development
59
+ description:
60
+ email:
61
+ - dek-oss@gravitext.com
62
+ executables: []
63
+
64
+ extensions: []
65
+
66
+ extra_rdoc_files:
67
+ - History.rdoc
68
+ - README.rdoc
69
+ files:
70
+ - History.rdoc
71
+ - Manifest.txt
72
+ - NOTICE.txt
73
+ - README.rdoc
74
+ - Rakefile
75
+ - assembly.xml
76
+ - pom.xml
77
+ - lib/rjack-lucene/base.rb
78
+ - lib/rjack-lucene.rb
79
+ - lib/rjack-lucene/icu.rb
80
+ - test/test_lucene.rb
81
+ - lib/rjack-lucene/jakarta-regexp-1.4.jar
82
+ - lib/rjack-lucene/lucene-analyzers-3.6.0.jar
83
+ - lib/rjack-lucene/lucene-core-3.6.0.jar
84
+ - lib/rjack-lucene/lucene-facet-3.6.0.jar
85
+ - lib/rjack-lucene/lucene-grouping-3.6.0.jar
86
+ - lib/rjack-lucene/lucene-highlighter-3.6.0.jar
87
+ - lib/rjack-lucene/lucene-icu-3.6.0.jar
88
+ - lib/rjack-lucene/lucene-instantiated-3.6.0.jar
89
+ - lib/rjack-lucene/lucene-join-3.6.0.jar
90
+ - lib/rjack-lucene/lucene-memory-3.6.0.jar
91
+ - lib/rjack-lucene/lucene-misc-3.6.0.jar
92
+ - lib/rjack-lucene/lucene-phonetic-3.6.0.jar
93
+ - lib/rjack-lucene/lucene-pruning-3.6.0.jar
94
+ - lib/rjack-lucene/lucene-queries-3.6.0.jar
95
+ - lib/rjack-lucene/lucene-queryparser-3.6.0.jar
96
+ - lib/rjack-lucene/lucene-spatial-3.6.0.jar
97
+ - lib/rjack-lucene/lucene-spellchecker-3.6.0.jar
98
+ homepage: http://rjack.rubyforge.org/lucene
99
+ licenses: []
100
+
101
+ post_install_message:
102
+ rdoc_options:
103
+ - --main
104
+ - README.rdoc
105
+ require_paths:
106
+ - lib
107
+ required_ruby_version: !ruby/object:Gem::Requirement
108
+ none: false
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ hash: 2
113
+ segments:
114
+ - 0
115
+ version: "0"
116
+ required_rubygems_version: !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - ">="
120
+ - !ruby/object:Gem::Version
121
+ hash: 2
122
+ segments:
123
+ - 0
124
+ version: "0"
125
+ requirements: []
126
+
127
+ rubyforge_project:
128
+ rubygems_version: 1.8.15
129
+ signing_key:
130
+ specification_version: 3
131
+ summary: A gem packaging of Lucene.
132
+ test_files: []
133
+