Skip to content

Commit 77701b9

Browse files
committed
Update to elasticsearch 1.0.0.RC1
Closes #16.
1 parent 1c4b330 commit 77701b9

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>org.elasticsearch</groupId>
88
<artifactId>elasticsearch-analysis-kuromoji</artifactId>
9-
<version>1.8.0-SNAPSHOT</version>
9+
<version>2.0.0.RC1-SNAPSHOT</version>
1010
<packaging>jar</packaging>
1111
<description>Japanese (kuromoji) Analysis for ElasticSearch</description>
1212
<inceptionYear>2009</inceptionYear>
@@ -31,7 +31,7 @@
3131
</parent>
3232

3333
<properties>
34-
<elasticsearch.version>0.90.8</elasticsearch.version>
34+
<elasticsearch.version>1.0.0.RC1-SNAPSHOT</elasticsearch.version>
3535
<lucene.version>4.6.0</lucene.version>
3636
<tests.jvms>1</tests.jvms>
3737
<tests.shuffle>true</tests.shuffle>

src/main/java/org/elasticsearch/index/analysis/KuromojiTokenizerFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import org.apache.lucene.analysis.ja.JapaneseTokenizer;
2424
import org.apache.lucene.analysis.ja.JapaneseTokenizer.Mode;
2525
import org.apache.lucene.analysis.ja.dict.UserDictionary;
26-
import org.elasticsearch.ElasticSearchException;
26+
import org.elasticsearch.ElasticsearchException;
2727
import org.elasticsearch.common.inject.Inject;
2828
import org.elasticsearch.common.inject.assistedinject.Assisted;
2929
import org.elasticsearch.common.settings.Settings;
@@ -66,7 +66,7 @@ public static UserDictionary getUserDictionary(Environment env, Settings setting
6666
}
6767
}
6868
} catch (IOException e) {
69-
throw new ElasticSearchException("failed to load kuromoji user dictionary", e);
69+
throw new ElasticsearchException("failed to load kuromoji user dictionary", e);
7070
}
7171
}
7272

src/test/resources/log4j.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
log4j.rootLogger=INFO, out
2+
3+
log4j.appender.out=org.apache.log4j.ConsoleAppender
4+
log4j.appender.out.layout=org.apache.log4j.PatternLayout
5+
log4j.appender.out.layout.conversionPattern=[%d{ISO8601}][%-5p][%-25c] %m%n

0 commit comments

Comments
 (0)