Skip to content

Commit a5143e0

Browse files
committed
Update to ES v2.3.0
1 parent 276e0ab commit a5143e0

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ This plugin enables URL tokenization and token filtering by URL part.
99

1010
| Elasticsearch Version | Plugin Version |
1111
|-----------------------|----------------|
12+
| 2.3.0 | 2.3.0 |
1213
| 2.2.2 | 2.2.3 |
1314
| 2.2.1 | 2.2.2 |
1415
| 2.2.0 | 2.2.1 |
@@ -22,7 +23,7 @@ This plugin enables URL tokenization and token filtering by URL part.
2223

2324
## Installation
2425
```bash
25-
bin/plugin install https://github.com/jlinn/elasticsearch-analysis-url/releases/download/v2.2.2/elasticsearch-analysis-url-2.2.2.zip
26+
bin/plugin install https://github.com/jlinn/elasticsearch-analysis-url/releases/download/v2.3.0/elasticsearch-analysis-url-2.3.0.zip
2627
```
2728

2829
## Usage

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.elasticsearch</groupId>
88
<artifactId>elasticsearch-analysis-url</artifactId>
9-
<version>2.2.3</version>
9+
<version>2.3.0</version>
1010
<packaging>jar</packaging>
1111
<description>Elasticsearch URL token filter plugin</description>
1212

@@ -18,8 +18,8 @@
1818

1919
<properties>
2020
<project.build.sourceEncodint>UTF-8</project.build.sourceEncodint>
21-
<elasticsearch.version>2.2.2</elasticsearch.version>
22-
<lucene.version>5.4.1</lucene.version>
21+
<elasticsearch.version>2.3.0</elasticsearch.version>
22+
<lucene.version>5.5.0</lucene.version>
2323
<hamcrest.version>1.3</hamcrest.version>
2424
<tests.output>onerror</tests.output>
2525
<tests.shuffle>true</tests.shuffle>

src/main/java/org/elasticsearch/index/analysis/url/URLTokenizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ private List<Token> tokenize(URLPart part, Tokenizer tokenizer, int start) throw
307307
* @return a list of {@link Token}s. Since tokens created in this method do not pertain to a specific part of the url,
308308
* {@link URLPart#WHOLE} will be used.
309309
*/
310-
List<Token> tokenizeSpecial(URL url) {
310+
private List<Token> tokenizeSpecial(URL url) {
311311
List<Token> tokens = new ArrayList<>();
312312
// host:port
313313
String token = getPart(url, URLPart.HOST) + ":" + getPart(url, URLPart.PORT);

0 commit comments

Comments
 (0)