mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
Fix changed class name after bad merge, see #12921
This commit is contained in:
parent
52f3eb5898
commit
75ced057ed
@ -36,11 +36,11 @@ public class IndexCacheModule extends AbstractModule {
|
||||
public static final String QUERY_CACHE_EVERYTHING = "index.queries.cache.everything";
|
||||
|
||||
private final Settings indexSettings;
|
||||
private final ExtensionPoint.TypeExtensionPoint<QueryCache> queryCaches;
|
||||
private final ExtensionPoint.SelectedType<QueryCache> queryCaches;
|
||||
|
||||
public IndexCacheModule(Settings settings) {
|
||||
this.indexSettings = settings;
|
||||
this.queryCaches = new ExtensionPoint.TypeExtensionPoint<>("query_cache", QueryCache.class);
|
||||
this.queryCaches = new ExtensionPoint.SelectedType<>("query_cache", QueryCache.class);
|
||||
|
||||
registerQueryCache(INDEX_QUERY_CACHE, IndexQueryCache.class);
|
||||
registerQueryCache(NONE_QUERY_CACHE, NoneQueryCache.class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user