Skip to content

Commit 14cbe08

Browse files
committed
Update to Elasticsearch 0.90.8 / Lucene 4.6.0
Closes #15.
1 parent 3d03f52 commit 14cbe08

File tree

3 files changed

+23
-85
lines changed

3 files changed

+23
-85
lines changed

README.md

+16-82
Original file line numberDiff line numberDiff line change
@@ -5,88 +5,22 @@ The ICU Analysis plugin integrates Lucene ICU module into elasticsearch, adding
55

66
In order to install the plugin, simply run: `bin/plugin -install elasticsearch/elasticsearch-analysis-icu/1.12.0`.
77

8-
9-
<table>
10-
<thead>
11-
<tr>
12-
<td>ICU Analysis Plugin</td>
13-
<td>Elasticsearch</td>
14-
<td>Release date</td>
15-
</tr>
16-
</thead>
17-
<tbody>
18-
<tr>
19-
<td>1.13.0-SNAPSHOT (master)</td>
20-
<td>0.90.6 -> master</td>
21-
<td></td>
22-
</tr>
23-
<tr>
24-
<td>1.12.0</td>
25-
<td>0.90.6 -> master</td>
26-
<td>2013-11-06</td>
27-
</tr>
28-
<tr>
29-
<td>1.11.0</td>
30-
<td>0.90.3 -> 0.90.5</td>
31-
<td>2013-08-08</td>
32-
</tr>
33-
<tr>
34-
<td>1.10.0</td>
35-
<td>0.90.1 -> 0.90.2</td>
36-
<td>2013-05-30</td>
37-
</tr>
38-
<tr>
39-
<td>1.9.0</td>
40-
<td>0.90.0</td>
41-
<td>2013-04-29</td>
42-
</tr>
43-
<tr>
44-
<td>1.8.0</td>
45-
<td>0.90.0</td>
46-
<td>2013-02-26</td>
47-
</tr>
48-
<tr>
49-
<td>1.7.0</td>
50-
<td>0.19 -> 0.20</td>
51-
<td>2012-09-28</td>
52-
</tr>
53-
<tr>
54-
<td>1.6.0</td>
55-
<td>0.19 -> 0.20</td>
56-
<td>2012-09-27</td>
57-
</tr>
58-
<tr>
59-
<td>1.5.0</td>
60-
<td>0.19 -> 0.20</td>
61-
<td>2012-04-30</td>
62-
</tr>
63-
<tr>
64-
<td>1.4.0</td>
65-
<td>0.19 -> 0.20</td>
66-
<td>2012-03-20</td>
67-
</tr>
68-
<tr>
69-
<td>1.3.0</td>
70-
<td>0.19 -> 0.20</td>
71-
<td>2012-03-20</td>
72-
</tr>
73-
<tr>
74-
<td>1.2.0</td>
75-
<td>0.19 -> 0.20</td>
76-
<td>2012-02-07</td>
77-
</tr>
78-
<tr>
79-
<td>1.1.0</td>
80-
<td>0.18</td>
81-
<td>2011-12-13</td>
82-
</tr>
83-
<tr>
84-
<td>1.0.0</td>
85-
<td>0.18</td>
86-
<td>2011-12-05</td>
87-
</tr>
88-
</tbody>
89-
</table>
8+
| ICU Analysis Plugin | elasticsearch | Release date |
9+
|--------------------------|------------------|:------------:|
10+
| 1.13.0-SNAPSHOT (master) | 0.90.8 -> master | 2013-12-19 |
11+
| 1.12.0 | 0.90.6 -> 0.90.7 | 2013-11-06 |
12+
| 1.11.0 | 0.90.3 -> 0.90.5 | 2013-08-08 |
13+
| 1.10.0 | 0.90.1 -> 0.90.2 | 2013-05-30 |
14+
| 1.9.0 | 0.90.0 | 2013-04-29 |
15+
| 1.8.0 | 0.90.0 | 2013-02-26 |
16+
| 1.7.0 | 0.19 -> 0.20 | 2012-09-28 |
17+
| 1.6.0 | 0.19 -> 0.20 | 2012-09-27 |
18+
| 1.5.0 | 0.19 -> 0.20 | 2012-04-30 |
19+
| 1.4.0 | 0.19 -> 0.20 | 2012-03-20 |
20+
| 1.3.0 | 0.19 -> 0.20 | 2012-03-20 |
21+
| 1.2.0 | 0.19 -> 0.20 | 2012-02-07 |
22+
| 1.1.0 | 0.18 | 2011-12-13 |
23+
| 1.0.0 | 0.18 | 2011-12-05 |
9024

9125

9226
ICU Normalization

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
</parent>
3232

3333
<properties>
34-
<elasticsearch.version>0.90.6</elasticsearch.version>
35-
<lucene.version>4.5.1</lucene.version>
34+
<elasticsearch.version>0.90.8</elasticsearch.version>
35+
<lucene.version>4.6.0</lucene.version>
3636
</properties>
3737

3838
<repositories>

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import com.ibm.icu.text.Collator;
44
import com.ibm.icu.text.RuleBasedCollator;
55
import com.ibm.icu.util.ULocale;
6-
import org.apache.lucene.analysis.core.KeywordTokenizer;
76
import org.apache.lucene.analysis.TokenStream;
7+
import org.apache.lucene.analysis.core.KeywordTokenizer;
88
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
99
import org.elasticsearch.common.inject.Injector;
1010
import org.elasticsearch.common.inject.ModulesBuilder;
@@ -290,6 +290,10 @@ private void assertCollation(TokenStream stream1, TokenStream stream2, int compa
290290
.addAttribute(CharTermAttribute.class);
291291
CharTermAttribute term2 = stream2
292292
.addAttribute(CharTermAttribute.class);
293+
294+
stream1.reset();
295+
stream2.reset();
296+
293297
assertThat(stream1.incrementToken(), equalTo(true));
294298
assertThat(stream2.incrementToken(), equalTo(true));
295299
assertThat(Integer.signum(term1.toString().compareTo(term2.toString())), equalTo(Integer.signum(comparison)));

0 commit comments

Comments
 (0)