Skip to content

Commit 50d3fff

Browse files
committed
Update to elasticsearch 1.3.0
Closes #26. (cherry picked from commit 60b7c55)
1 parent 39feb53 commit 50d3fff

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ Phonetic Analysis for Elasticsearch
33

44
The Phonetic Analysis plugin integrates phonetic token filter analysis with elasticsearch.
55

6-
In order to install the plugin, simply run: `bin/plugin -install elasticsearch/elasticsearch-analysis-phonetic/2.0.0`.
6+
In order to install the plugin, simply run: `bin/plugin -install elasticsearch/elasticsearch-analysis-phonetic/2.1.0`.
77

88
* For master elasticsearch versions, look at [master branch](https://github.com/elasticsearch/elasticsearch-analysis-phonetic/tree/master).
9+
* For 1.3.x elasticsearch versions, look at [es-1.3 branch](https://github.com/elasticsearch/elasticsearch-analysis-phonetic/tree/es-1.3).
910
* For 1.2.x elasticsearch versions, look at [es-1.2 branch](https://github.com/elasticsearch/elasticsearch-analysis-phonetic/tree/es-1.2).
1011
* For 1.1.x elasticsearch versions, look at [es-1.1 branch](https://github.com/elasticsearch/elasticsearch-analysis-phonetic/tree/es-1.1).
1112
* For 1.0.x elasticsearch versions, look at [es-1.0 branch](https://github.com/elasticsearch/elasticsearch-analysis-phonetic/tree/es-1.0).

src/test/java/org/elasticsearch/index/analysis/SimplePhoneticIntegrationTests.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import org.elasticsearch.common.settings.Settings;
2626
import org.elasticsearch.common.xcontent.XContentBuilder;
2727
import org.elasticsearch.index.query.QueryBuilders;
28+
import org.elasticsearch.plugins.PluginsService;
2829
import org.elasticsearch.test.ElasticsearchIntegrationTest;
2930
import org.junit.Test;
3031

@@ -38,6 +39,14 @@
3839
@ElasticsearchIntegrationTest.ClusterScope(numDataNodes = 1, scope = ElasticsearchIntegrationTest.Scope.SUITE)
3940
public class SimplePhoneticIntegrationTests extends ElasticsearchIntegrationTest {
4041

42+
@Override
43+
protected Settings nodeSettings(int nodeOrdinal) {
44+
return ImmutableSettings.builder()
45+
.put(super.nodeSettings(nodeOrdinal))
46+
.put("plugins." + PluginsService.LOAD_PLUGIN_FROM_CLASSPATH, true)
47+
.build();
48+
}
49+
4150
@Override
4251
public Settings indexSettings() {
4352
Settings settings = ImmutableSettings.builder()

0 commit comments

Comments
 (0)