Skip to content

Commit

Permalink
v7.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jikyo committed Jan 26, 2020
1 parent abed686 commit e920723
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Note that this token filter `jikyo_romaji` assumes to work with `tokenizer: keyw

# Supported Elasticsearch versions

* 7.5: ~~7.5.0~~ 
* 7.5: ~~7.5.0~~, [7.5.1](https://github.com/jikyo/elasticsearch-analysis-jikyo-romaji/releases/tag/v7.5.1)
* 7.4: [7.4.2](https://github.com/jikyo/elasticsearch-analysis-jikyo-romaji/releases/tag/v7.4.2), [7.4.1](https://github.com/jikyo/elasticsearch-analysis-jikyo-romaji/releases/tag/v7.4.1), [7.4.0](https://github.com/jikyo/elasticsearch-analysis-jikyo-romaji/releases/tag/v7.4.0)
* 7.3: [7.3.2](https://github.com/jikyo/elasticsearch-analysis-jikyo-romaji/releases/tag/v7.3.2), [7.3.1](https://github.com/jikyo/elasticsearch-analysis-jikyo-romaji/releases/tag/v7.3.1), [7.3.0](https://github.com/jikyo/elasticsearch-analysis-jikyo-romaji/releases/tag/v7.3.0)
* 7.2: [7.2.1](https://github.com/jikyo/elasticsearch-analysis-jikyo-romaji/releases/tag/v7.2.1), [7.2.0](https://github.com/jikyo/elasticsearch-analysis-jikyo-romaji/releases/tag/v7.2.0)
Expand All @@ -25,7 +25,7 @@ $ sudo bin/elasticsearch-plugin install https://github.com/jikyo/elasticsearch-a

### settings sample

```JSON
```
"your_analyzer": {
"type": "custom",
"tokenizer": "keyword",
Expand Down Expand Up @@ -109,4 +109,5 @@ $ curl -H "Content-Type: application/json" -XGET "localhost:9200/_analyze?pretty
$ gradle check -Dtests.security.manager=false
# Build task
$ gradle assemble
# see build/distributions/
```
21 changes: 15 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
// elasticsearch-analysis-jikyo-romaji

// A workaround for 7.5: https://github.com/elastic/elasticsearch/issues/49787#issuecomment-562720655
import org.elasticsearch.gradle.testclusters.TestClustersRegistry
import org.elasticsearch.gradle.testclusters.TestClustersPlugin

buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'org.elasticsearch.gradle:build-tools:7.5.0'
classpath 'org.elasticsearch.gradle:build-tools:7.5.1'
}
}

apply plugin: 'elasticsearch.esplugin'

// 7.5.0: (skipped) https://github.com/elastic/elasticsearch/issues/49787
def ver = [
plugin: '7.5.0',
es: '7.5.0',
lucene: '8.3.0',
plugin: '7.5.1',
es: '7.5.1',
lucene: '8.3.0', // https://github.com/elastic/elasticsearch/blob/master/buildSrc/version.properties
romaji: '0.0.4',
]
// 7.5.0: https://github.com/elastic/elasticsearch/blob/7.5/buildSrc/version.properties
// skipped: https://github.com/elastic/elasticsearch/issues/49787

esplugin {
name 'analysis-jikyo-romaji'
Expand All @@ -46,3 +49,9 @@ configurations.restSpec.withDependencies { dependencies ->
dependencyLicenses.enabled = false
thirdPartyAudit.enabled = false
licenseHeaders.enabled = false

// A workaround for 7.5: https://github.com/elastic/elasticsearch/issues/49787#issuecomment-562720655
TestClustersRegistry registry = project.rootProject.extensions.create("testClustersRegistry", TestClustersRegistry)
TestClustersPlugin.configureClaimClustersHook(project.gradle, registry)
TestClustersPlugin.configureStartClustersHook(project.gradle, registry)
TestClustersPlugin.configureStopClustersHook(project.gradle, registry)

0 comments on commit e920723

Please sign in to comment.