Revision: 251
Author: johtani
Date: Mon Apr 28 07:23:33 2014 UTC
Log: fix issue #53 change libraries ver 4.8.0 and JDK >= 7
http://code.google.com/p/lucene-gosen/source/detail?r=251
Added:
/branches/4x/lib/lucene-analyzers-common-4.8.0.jar
/branches/4x/lib/lucene-codecs-4.8.0.jar
/branches/4x/lib/lucene-core-4.8.0.jar
/branches/4x/lib/lucene-test-framework-4.8.0.jar
/branches/4x/lib/solr-core-4.8.0.jar
/branches/4x/lib/solr-solrj-4.8.0.jar
Modified:
/branches/4x/.classpath
/branches/4x/CHANGES.txt
/branches/4x/build.xml
/branches/4x/src/test/org/apache/lucene/analysis/gosen/TestGosenTokenizer.java
=======================================
--- /dev/null
+++ /branches/4x/lib/lucene-analyzers-common-4.8.0.jar Mon Apr 28 07:23:33
2014 UTC
File is too large to display a diff.
=======================================
--- /dev/null
+++ /branches/4x/lib/lucene-codecs-4.8.0.jar Mon Apr 28 07:23:33 2014 UTC
Binary file, no diff available.
=======================================
--- /dev/null
+++ /branches/4x/lib/lucene-core-4.8.0.jar Mon Apr 28 07:23:33 2014 UTC
File is too large to display a diff.
=======================================
--- /dev/null
+++ /branches/4x/lib/lucene-test-framework-4.8.0.jar Mon Apr 28 07:23:33
2014 UTC
File is too large to display a diff.
=======================================
--- /dev/null
+++ /branches/4x/lib/solr-core-4.8.0.jar Mon Apr 28 07:23:33 2014 UTC
File is too large to display a diff.
=======================================
--- /dev/null
+++ /branches/4x/lib/solr-solrj-4.8.0.jar Mon Apr 28 07:23:33 2014 UTC
Binary file, no diff available.
=======================================
--- /branches/4x/.classpath Tue Apr 15 09:24:55 2014 UTC
+++ /branches/4x/.classpath Mon Apr 28 07:23:33 2014 UTC
@@ -5,16 +5,16 @@
<classpathentry kind="src" path="src/test"/>
<classpathentry kind="src" path="src/compiled-dictionaries/ipadic"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="lib" path="lib/lucene-test-framework-4.7.2.jar"/>
+ <classpathentry kind="lib" path="lib/lucene-test-framework-4.8.0.jar"/>
<classpathentry kind="lib" path="lib/jisx0213-1.0.jar"/>
<classpathentry kind="lib" path="lib/junit-4.10.jar"/>
<classpathentry kind="lib" path="lib/slf4j-api-1.6.6.jar"/>
<classpathentry kind="lib" path="lib/slf4j-jdk14-1.6.6.jar"/>
<classpathentry kind="lib"
path="lib/randomizedtesting-runner-2.0.13.jar"/>
- <classpathentry kind="lib" path="lib/lucene-analyzers-common-4.7.2.jar"/>
- <classpathentry kind="lib" path="lib/lucene-codecs-4.7.2.jar"/>
- <classpathentry kind="lib" path="lib/lucene-core-4.7.2.jar"/>
- <classpathentry kind="lib" path="lib/solr-core-4.7.2.jar"/>
- <classpathentry kind="lib" path="lib/solr-solrj-4.7.2.jar"/>
+ <classpathentry kind="lib" path="lib/lucene-analyzers-common-4.8.0.jar"/>
+ <classpathentry kind="lib" path="lib/lucene-codecs-4.8.0.jar"/>
+ <classpathentry kind="lib" path="lib/lucene-core-4.8.0.jar"/>
+ <classpathentry kind="lib" path="lib/solr-core-4.8.0.jar"/>
+ <classpathentry kind="lib" path="lib/solr-solrj-4.8.0.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
=======================================
--- /branches/4x/CHANGES.txt Tue Apr 15 09:24:55 2014 UTC
+++ /branches/4x/CHANGES.txt Mon Apr 28 07:23:33 2014 UTC
@@ -1,9 +1,12 @@
lucene-gosen Change Log
-========== 4.8.0 / YYYY-MM-DD ===================================
+========== 4.8.0 / 2014-04-28 ===================================
Important Notice
+*
http://code.google.com/p/lucene-gosen/issues/detail?id=53
+ Change Lucene/Solr 4.8.0 library and Move to Java 7 as minimum Java
version
+
New Features & Improvements
Bug Fixes
=======================================
--- /branches/4x/build.xml Tue Apr 15 09:24:55 2014 UTC
+++ /branches/4x/build.xml Mon Apr 28 07:23:33 2014 UTC
@@ -6,7 +6,7 @@
<!-- to change the dictionary type to naist-chasen, ant
-Ddictype=naist-chasen -->
<property name="dictype" value="ipadic"/>
- <property name="version" value="4.7.2"/>
+ <property name="version" value="4.8.0"/>
<property name="src.dir" location="src/java"/>
<property name="cdic.dir" location="src/compiled-dictionaries"/>
@@ -56,9 +56,9 @@
<!-- Build javadocs -->
<target name="javadoc" description="generate Javadocs">
- <property name="javadoc.link.java"
value="
http://java.sun.com/javase/ja/6/docs/ja/api/"/>
- <property name="javadoc.link.lucene"
value="
https://hudson.apache.org/hudson/job/Lucene-3.x/javadoc/all/"/>
- <property name="javadoc.link.solr"
value="
https://hudson.apache.org/hudson/job/Solr-3.x/javadoc/"/>
+ <property name="javadoc.link.java"
value="
http://docs.oracle.com/javase/7/docs/api/"/>
+ <property name="javadoc.link.lucene"
value="
https://hudson.apache.org/hudson/job/Lucene-4.x/javadoc/all/"/>
+ <property name="javadoc.link.solr"
value="
https://hudson.apache.org/hudson/job/Solr-4.x/javadoc/"/>
<copy todir="${javadoc.dir}/prettify">
<fileset dir="${prettify.dir}"/>
</copy>
@@ -71,7 +71,7 @@
windowtitle="lucene-gosen-${version} API"
encoding="UTF-8"
doctitle="lucene-gosen-${version}"
- source="1.6"
+ source="1.7"
locale="en_US"
stylesheetfile="${javadoc.dir}/prettify/stylesheet+prettify.css">
<link href="${javadoc.link.java}"/>
@@ -96,8 +96,8 @@
includes="**/*.java"
debug="true"
encoding="utf-8"
- source="1.6"
- target="1.6">
+ source="1.7"
+ target="1.7">
<compilerarg line="-Xlint -Xlint:-serial"/>
</javac>
<!-- Copy the resources folder (if existent) -->
@@ -115,8 +115,8 @@
includes="**/*.java"
debug="true"
encoding="utf-8"
- source="1.6"
- target="1.6">
+ source="1.7"
+ target="1.7">
<compilerarg line="-Xlint -Xlint:-serial"/>
</javac>
</target>
=======================================
---
/branches/4x/src/test/org/apache/lucene/analysis/gosen/TestGosenTokenizer.java
Mon Nov 25 03:11:33 2013 UTC
+++
/branches/4x/src/test/org/apache/lucene/analysis/gosen/TestGosenTokenizer.java
Mon Apr 28 07:23:33 2014 UTC
@@ -28,7 +28,7 @@
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.Tokenizer;
import org.apache.lucene.util.LuceneTestCase;
-import org.apache.lucene.util._TestUtil;
+import org.apache.lucene.util.TestUtil;
/**
* Tests for {@link GosenTokenizer}
@@ -124,7 +124,7 @@
public void testLargeDocReliability() throws IOException {
for (int i = 0; i < 100; i++) {
- String s = _TestUtil.randomUnicodeString(random(), 10000);
+ String s = TestUtil.randomUnicodeString(random(), 10000);
TokenStream ts = analyzer.tokenStream("foo", s);
try {
ts.reset();