Re: CACHE -> fieldValueCache usage

2018-09-20 Thread Vincenzo D'Amore
Hi Yonik, Emir,

thanks for your reply.

I'm moving a collection from Solr 4.8.1 where there weren't configured
docValues for thousands of fields (most of them used for sorting and
faceting).
In the Solr 4.8.1 I was used to see this fieldValueCache used.

On the other hand, in the new version (7.3.1), where docValues are
configured everywhere I could the fieldValueCache has all the values 0.
Which if I understood correctly, it is good :)

Best regards,
Vincenzo

On Thu, Sep 20, 2018 at 3:39 PM Yonik Seeley  wrote:

> On Wed, Sep 19, 2018 at 9:44 AM Vincenzo D'Amore 
> wrote:
>
> > Looking at Solr Admin Panel I've found the CACHE -> fieldValueCache tab
> > where all the values are 0.
> >
> > [...]
> >
> > what do you thing, is that normal?
>
>
> Yep, that's completely normal.
> That cache is only used by certain operations on multi-valued indexed
> fields that don't have docValues.  If it ends up not being used, it's fine.
>
> -Yonik
>


-- 
Vincenzo D'Amore


Re: CACHE -> fieldValueCache usage

2018-09-20 Thread Yonik Seeley
On Wed, Sep 19, 2018 at 9:44 AM Vincenzo D'Amore  wrote:

> Looking at Solr Admin Panel I've found the CACHE -> fieldValueCache tab
> where all the values are 0.
>
> [...]
>
> what do you thing, is that normal?


Yep, that's completely normal.
That cache is only used by certain operations on multi-valued indexed
fields that don't have docValues.  If it ends up not being used, it's fine.

-Yonik


Re: CACHE -> fieldValueCache usage

2018-09-20 Thread Emir Arnautović
Hi Vincenzo,
Are you saying that you used to see some numbers other than 0 and now you see 
0? If it is always zero, it means that you are not using features that require 
uninverted version of field (mainly faceting) or that you have doc values 
enabled on all fields that are used in such scenario so there is no need to use 
fieldValueCache which is recommended.

FieldValueCache is defined by default so that’s why it is not defined in 
solr.xml, but you can override defaults.

HTH,
Emir 

--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 19 Sep 2018, at 15:43, Vincenzo D'Amore  wrote:
> 
> Hi all,
> 
> sorry if I bothered you all but in these days I'm just struggling what's
> going on with my production servers...
> 
> Looking at Solr Admin Panel I've found the CACHE -> fieldValueCache tab
> where all the values are 0.
> 
> class:org.apache.solr.search.FastLRUCache
> description:Concurrent LRU Cache(maxSize=1, initialSize=10,
> minSize=9000, acceptableSize=9500, cleanupThread=false)
> stats:
> CACHE.searcher.fieldValueCache.cumulative_evictions:0
> CACHE.searcher.fieldValueCache.cumulative_hitratio:0
> CACHE.searcher.fieldValueCache.cumulative_hits:0
> CACHE.searcher.fieldValueCache.cumulative_inserts:0
> CACHE.searcher.fieldValueCache.cumulative_lookups:0
> CACHE.searcher.fieldValueCache.evictions:0
> CACHE.searcher.fieldValueCache.hitratio:0
> CACHE.searcher.fieldValueCache.hits:0
> CACHE.searcher.fieldValueCache.inserts:0
> CACHE.searcher.fieldValueCache.lookups:0
> CACHE.searcher.fieldValueCache.size:0
> CACHE.searcher.fieldValueCache.warmupTime:0
> 
> what do you thing, is that normal? Given that this stats comes from a
> production server I suppose to have some number here and looking at
> solrconfig.xml I don't see any configuration regarding the fieldValueCache.
> Don't should I see something here?
> 
> Cheers,
> Vincenzo
> 
> -- 
> Vincenzo D'Amore



CACHE -> fieldValueCache usage

2018-09-19 Thread Vincenzo D'Amore
Hi all,

sorry if I bothered you all but in these days I'm just struggling what's
going on with my production servers...

Looking at Solr Admin Panel I've found the CACHE -> fieldValueCache tab
where all the values are 0.

class:org.apache.solr.search.FastLRUCache
description:Concurrent LRU Cache(maxSize=1, initialSize=10,
minSize=9000, acceptableSize=9500, cleanupThread=false)
stats:
CACHE.searcher.fieldValueCache.cumulative_evictions:0
CACHE.searcher.fieldValueCache.cumulative_hitratio:0
CACHE.searcher.fieldValueCache.cumulative_hits:0
CACHE.searcher.fieldValueCache.cumulative_inserts:0
CACHE.searcher.fieldValueCache.cumulative_lookups:0
CACHE.searcher.fieldValueCache.evictions:0
CACHE.searcher.fieldValueCache.hitratio:0
CACHE.searcher.fieldValueCache.hits:0
CACHE.searcher.fieldValueCache.inserts:0
CACHE.searcher.fieldValueCache.lookups:0
CACHE.searcher.fieldValueCache.size:0
CACHE.searcher.fieldValueCache.warmupTime:0

what do you thing, is that normal? Given that this stats comes from a
production server I suppose to have some number here and looking at
solrconfig.xml I don't see any configuration regarding the fieldValueCache.
Don't should I see something here?

Cheers,
Vincenzo

-- 
Vincenzo D'Amore