Skip to content

Commit

Permalink
Update to elasticsearch 1.0.0.RC1
Browse files Browse the repository at this point in the history
Closes #16.
  • Loading branch information
dadoonet committed Jan 10, 2014
1 parent 1c4b330 commit 77701b9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch-analysis-kuromoji</artifactId>
<version>1.8.0-SNAPSHOT</version>
<version>2.0.0.RC1-SNAPSHOT</version>
<packaging>jar</packaging>
<description>Japanese (kuromoji) Analysis for ElasticSearch</description>
<inceptionYear>2009</inceptionYear>
Expand All @@ -31,7 +31,7 @@
</parent>

<properties>
<elasticsearch.version>0.90.8</elasticsearch.version>
<elasticsearch.version>1.0.0.RC1-SNAPSHOT</elasticsearch.version>
<lucene.version>4.6.0</lucene.version>
<tests.jvms>1</tests.jvms>
<tests.shuffle>true</tests.shuffle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.apache.lucene.analysis.ja.JapaneseTokenizer;
import org.apache.lucene.analysis.ja.JapaneseTokenizer.Mode;
import org.apache.lucene.analysis.ja.dict.UserDictionary;
import org.elasticsearch.ElasticSearchException;
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.common.inject.assistedinject.Assisted;
import org.elasticsearch.common.settings.Settings;
Expand Down Expand Up @@ -66,7 +66,7 @@ public static UserDictionary getUserDictionary(Environment env, Settings setting
}
}
} catch (IOException e) {
throw new ElasticSearchException("failed to load kuromoji user dictionary", e);
throw new ElasticsearchException("failed to load kuromoji user dictionary", e);
}
}

Expand Down
5 changes: 5 additions & 0 deletions src/test/resources/log4j.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
log4j.rootLogger=INFO, out

log4j.appender.out=org.apache.log4j.ConsoleAppender
log4j.appender.out.layout=org.apache.log4j.PatternLayout
log4j.appender.out.layout.conversionPattern=[%d{ISO8601}][%-5p][%-25c] %m%n

0 comments on commit 77701b9

Please sign in to comment.