Use same caching strategy for STANDARD and DEFAULT analyzer

This commit is contained in:
Simon Willnauer 2013-11-06 10:58:40 +01:00
parent 47aa01f5d1
commit d4873bd6a5
1 changed files with 1 additions and 1 deletions

View File

@ -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!