Skip to content

Commit

Permalink
Update to ES v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jlinn committed Apr 2, 2016
1 parent 276e0ab commit a5143e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This plugin enables URL tokenization and token filtering by URL part.

| Elasticsearch Version | Plugin Version |
|-----------------------|----------------|
| 2.3.0 | 2.3.0 |
| 2.2.2 | 2.2.3 |
| 2.2.1 | 2.2.2 |
| 2.2.0 | 2.2.1 |
Expand All @@ -22,7 +23,7 @@ This plugin enables URL tokenization and token filtering by URL part.

## Installation
```bash
bin/plugin install https://github.com/jlinn/elasticsearch-analysis-url/releases/download/v2.2.2/elasticsearch-analysis-url-2.2.2.zip
bin/plugin install https://github.com/jlinn/elasticsearch-analysis-url/releases/download/v2.3.0/elasticsearch-analysis-url-2.3.0.zip
```

## Usage
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch-analysis-url</artifactId>
<version>2.2.3</version>
<version>2.3.0</version>
<packaging>jar</packaging>
<description>Elasticsearch URL token filter plugin</description>

Expand All @@ -18,8 +18,8 @@

<properties>
<project.build.sourceEncodint>UTF-8</project.build.sourceEncodint>
<elasticsearch.version>2.2.2</elasticsearch.version>
<lucene.version>5.4.1</lucene.version>
<elasticsearch.version>2.3.0</elasticsearch.version>
<lucene.version>5.5.0</lucene.version>
<hamcrest.version>1.3</hamcrest.version>
<tests.output>onerror</tests.output>
<tests.shuffle>true</tests.shuffle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ private List<Token> tokenize(URLPart part, Tokenizer tokenizer, int start) throw
* @return a list of {@link Token}s. Since tokens created in this method do not pertain to a specific part of the url,
* {@link URLPart#WHOLE} will be used.
*/
List<Token> tokenizeSpecial(URL url) {
private List<Token> tokenizeSpecial(URL url) {
List<Token> tokens = new ArrayList<>();
// host:port
String token = getPart(url, URLPart.HOST) + ":" + getPart(url, URLPart.PORT);
Expand Down

0 comments on commit a5143e0

Please sign in to comment.