move to 0.19 snap and use some of its features
This commit is contained in:
parent
1f89efc442
commit
90e80cf83c
|
@ -8,7 +8,7 @@ In order to install the plugin, simply run: `bin/plugin -install elasticsearch/e
|
|||
----------------------------------------
|
||||
| ICU Analysis Plugin | ElasticSearch |
|
||||
----------------------------------------
|
||||
| master | 0.18 -> master |
|
||||
| master | master (0.19) |
|
||||
----------------------------------------
|
||||
| 1.1.0 | 0.18 -> master |
|
||||
----------------------------------------
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -31,7 +31,7 @@
|
|||
</parent>
|
||||
|
||||
<properties>
|
||||
<elasticsearch.version>0.18.5</elasticsearch.version>
|
||||
<elasticsearch.version>0.19.0-SNAPSHOT</elasticsearch.version>
|
||||
</properties>
|
||||
|
||||
<repositories>
|
||||
|
|
|
@ -48,11 +48,10 @@ public class AnalysisICUPlugin extends AbstractPlugin {
|
|||
return ImmutableList.<Class<? extends Module>>of(IcuIndicesAnalysisModule.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processModule(Module module) {
|
||||
if (module instanceof AnalysisModule) {
|
||||
AnalysisModule analysisModule = (AnalysisModule) module;
|
||||
analysisModule.addProcessor(new IcuAnalysisBinderProcessor());
|
||||
}
|
||||
/**
|
||||
* Automatically called with the analysis module.
|
||||
*/
|
||||
public void onModule(AnalysisModule module) {
|
||||
module.addProcessor(new IcuAnalysisBinderProcessor());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue