Are you looking for this ?

org/apache/solr/core/SolrConfig.java:243

CacheConfig conf = CacheConfig.getConfig(this, "query/fieldValueCache");
if (conf == null) {
  Map<String, String> args = new HashMap<>();
  args.put(NAME, "fieldValueCache");
  args.put("size", "10000");
  args.put("initialSize", "10");
  args.put("showItems", "-1");
  conf = new CacheConfig(FastLRUCache.class, args, null);
}
fieldValueCacheConfig = conf;


Cheers


On Thu, Sep 1, 2016 at 2:41 AM, Rallavagu <rallav...@gmail.com> wrote:

> But, the configuration is commented out (disabled). As comments section
> mentioned
>
> "The fieldValueCache is created by default even if not configured here"
>
> I would like to know what would be the configuration of default
> fieldValueCache created.
>
>
> On 8/31/16 6:37 PM, Zheng Lin Edwin Yeo wrote:
>
>> If I didn't get your question wrong, what you have listed is already the
>> default configuration that comes with your version of Solr.
>>
>> Regards,
>> Edwin
>>
>> On 30 August 2016 at 07:49, Rallavagu <rallav...@gmail.com> wrote:
>>
>> Solr 5.4.1
>>>
>>> <!-- Field Value Cache
>>>
>>>          Cache used to hold field values that are quickly accessible
>>>          by document id.  The fieldValueCache is created by default
>>>          even if not configured here.
>>>       -->
>>>     <!--
>>>        <fieldValueCache class="solr.FastLRUCache"
>>>                         size="512"
>>>                         autowarmCount="128"
>>>                         showItems="32" />
>>>       -->
>>>
>>> Wondering what is the default configuration for "fieldValueCache".
>>>
>>>
>>


-- 
--------------------------

Benedetti Alessandro
Visiting card : http://about.me/alessandro_benedetti

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

Reply via email to