Use same caching strategy for STANDARD and DEFAULT analyzer
This commit is contained in:
parent
47aa01f5d1
commit
d4873bd6a5
|
@ -84,7 +84,7 @@ public enum PreBuiltAnalyzers {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
DEFAULT {
|
DEFAULT(CachingStrategy.ELASTICSEARCH){
|
||||||
@Override
|
@Override
|
||||||
protected Analyzer create(Version version) {
|
protected Analyzer create(Version version) {
|
||||||
// by calling get analyzer we are ensuring reuse of the same STANDARD analyzer for DEFAULT!
|
// by calling get analyzer we are ensuring reuse of the same STANDARD analyzer for DEFAULT!
|
||||||
|
|
Loading…
Reference in New Issue