Re: Default Field Cache

2016-09-01 Thread Rallavagu

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 args = new HashMap<>();
  args.put(NAME, "fieldValueCache");
  args.put("size", "1");
  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  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  wrote:

Solr 5.4.1





Wondering what is the default configuration for "fieldValueCache".









Re: Default Field Cache

2016-09-01 Thread Alessandro Benedetti
Are you looking for this ?

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

CacheConfig conf = CacheConfig.getConfig(this, "query/fieldValueCache");
if (conf == null) {
  Map args = new HashMap<>();
  args.put(NAME, "fieldValueCache");
  args.put("size", "1");
  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  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  wrote:
>>
>> Solr 5.4.1
>>>
>>> 
>>> 
>>>
>>> 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

2016-08-31 Thread Rallavagu
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  wrote:


Solr 5.4.1




Wondering what is the default configuration for "fieldValueCache".





Re: Default Field Cache

2016-08-31 Thread Zheng Lin Edwin Yeo
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  wrote:

> Solr 5.4.1
>
> 
> 
>
> Wondering what is the default configuration for "fieldValueCache".
>


Default Field Cache

2016-08-29 Thread Rallavagu

Solr 5.4.1




Wondering what is the default configuration for "fieldValueCache".