You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Rallavagu <ra...@gmail.com> on 2016/08/29 23:49:42 UTC
Default Field Cache
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".
Re: Default Field Cache
Posted by Rallavagu <ra...@gmail.com>.
Yes. Thanks.
On 9/1/16 4:53 AM, Alessandro Benedetti wrote:
> 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 <ra...@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 <ra...@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".
>>>>
>>>>
>>>
>
>
Re: Default Field Cache
Posted by Alessandro Benedetti <ab...@apache.org>.
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 <ra...@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 <ra...@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
Re: Default Field Cache
Posted by Rallavagu <ra...@gmail.com>.
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 <ra...@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".
>>
>
Re: Default Field Cache
Posted by Zheng Lin Edwin Yeo <ed...@gmail.com>.
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 <ra...@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".
>