remove the field settings for query parser cache, not really relevant
This commit is contained in:
parent
c18c609af1
commit
473473e867
|
@ -49,8 +49,8 @@ public class ResidentQueryParserCache extends AbstractIndexComponent implements
|
|||
public ResidentQueryParserCache(Index index, @IndexSettings Settings indexSettings) {
|
||||
super(index, indexSettings);
|
||||
|
||||
this.maxSize = indexSettings.getAsInt("index.cache.field.max_size", componentSettings.getAsInt("max_size", 100));
|
||||
this.expire = indexSettings.getAsTime("index.cache.field.expire", componentSettings.getAsTime("expire", null));
|
||||
this.maxSize = componentSettings.getAsInt("max_size", 100);
|
||||
this.expire = componentSettings.getAsTime("expire", null);
|
||||
logger.debug("using [resident] query cache with max_size [{}], expire [{}]", maxSize, expire);
|
||||
|
||||
CacheBuilder cacheBuilder = CacheBuilder.newBuilder().maximumSize(maxSize);
|
||||
|
|
Loading…
Reference in New Issue