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 Solr Beginner <so...@onet.pl> on 2011/04/27 07:44:57 UTC

fieldCache only on stats page

Hi,

I can see only fieldCache (nothing about filter, query or document
cache) on stats page. What I'm doing wrong? We have two servers with
replication. There are two cores(prod, dev) on each server. Maybe I
have to add something to solrconfig.xml of cores?

Best Regards,
Solr Beginner

Re: fieldCache only on stats page

Posted by Marcin Kostuch <ma...@googlemail.com>.
Solr version:

Solr Specification Version: 3.1.0
Solr Implementation Version: 3.1.0 1085815 - grantingersoll -
2011-03-26 18:00:07
Lucene Specification Version: 3.1.0
Lucene Implementation Version: 3.1.0 1085809 - 2011-03-26 18:06:58
Current Time: Wed Apr 27 14:28:34 CEST 2011
Server Start Time:Wed Apr 27 11:07:00 CEST 2011

According to cache I can see only following informations:

CACHE
 	
name: 	 fieldCache
class: 	 org.apache.solr.search.SolrFieldCacheMBean
version: 	 1.0
description: 	 Provides introspection of the Lucene FieldCache, this
is **NOT** a cache that is managed by Solr.
sourceid: 	 $Id: SolrFieldCacheMBean.java 984594 2010-08-11 21:42:04Z yonik $
source: 	 $URL:
https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_1/solr/src/java/org/apache/solr/search/SolrFieldCacheMBean.java
$
name: 	 fieldValueCache
class: 	 org.apache.solr.search.FastLRUCache
version: 	 1.0
description: 	 Concurrent LRU Cache(maxSize=10000, initialSize=10,
minSize=9000, acceptableSize=9500, cleanupThread=false)
sourceid: 	 $Id: FastLRUCache.java 1065312 2011-01-30 16:08:25Z rmuir $
source: 	 $URL:
https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_1/solr/src/java/org/apache/solr/search/FastLRUCache.java
$

Nothing about filterCache or documentCache ;/

Best Regards,
Solr Beginner

On Wed, Apr 27, 2011 at 2:00 PM, Erick Erickson <er...@gmail.com> wrote:
> There's nothing special you need to do to be able to view the various
> stats from admin/stats.jsp. If another look doesn't show them, could you
> post a screenshot?
>
> And please include the version of Solr you're using, I checked with 1.4.1.
>
> Best
> Erick
>
> On Wed, Apr 27, 2011 at 1:44 AM, Solr Beginner <so...@onet.pl> wrote:
>> Hi,
>>
>> I can see only fieldCache (nothing about filter, query or document
>> cache) on stats page. What I'm doing wrong? We have two servers with
>> replication. There are two cores(prod, dev) on each server. Maybe I
>> have to add something to solrconfig.xml of cores?
>>
>> Best Regards,
>> Solr Beginner
>>
>

Re: fieldCache only on stats page

Posted by Erick Erickson <er...@gmail.com>.
It Works On My Machine (tm).

Hmmm. this is the packaged Solr release, right? I just tried this from
the admin page and got all the caches. This is from Solr Admin/stats,
right? As in you're clicking either the [Info] or the [Statistics] link on
the admin page then clicking the [cache] link on the page that comes
up...

And they haven't been commented out in your solrconfig.xml file, right?

Best
Erick



On Wed, Apr 27, 2011 at 8:39 AM, Solr Beginner <so...@onet.pl> wrote:
> Solr version:
>
> Solr Specification Version: 3.1.0
> Solr Implementation Version: 3.1.0 1085815 - grantingersoll -
> 2011-03-26 18:00:07
> Lucene Specification Version: 3.1.0
> Lucene Implementation Version: 3.1.0 1085809 - 2011-03-26 18:06:58
> Current Time: Wed Apr 27 14:28:34 CEST 2011
> Server Start Time:Wed Apr 27 11:07:00 CEST 2011
>
> According to cache I can see only following informations:
>
> CACHE
>
> name:    fieldCache
> class:   org.apache.solr.search.SolrFieldCacheMBean
> version:         1.0
> description:     Provides introspection of the Lucene FieldCache, this
> is **NOT** a cache that is managed by Solr.
> sourceid:        $Id: SolrFieldCacheMBean.java 984594 2010-08-11
> 21:42:04Z yonik $
> source:          $URL:
> https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_1/solr/src/java/org/apache/solr/search/SolrFieldCacheMBean.java
> $
> name:    fieldValueCache
> class:   org.apache.solr.search.FastLRUCache
> version:         1.0
> description:     Concurrent LRU Cache(maxSize=10000, initialSize=10,
> minSize=9000, acceptableSize=9500, cleanupThread=false)
> sourceid:        $Id: FastLRUCache.java 1065312 2011-01-30 16:08:25Z rmuir $
> source:          $URL:
> https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_1/solr/src/java/org/apache/solr/search/FastLRUCache.java
> $
>
> Nothing about filterCache or documentCache ;/
>
> On Wed, Apr 27, 2011 at 2:00 PM, Erick Erickson <er...@gmail.com> wrote:
>> There's nothing special you need to do to be able to view the various
>> stats from admin/stats.jsp. If another look doesn't show them, could you
>> post a screenshot?
>>
>> And please include the version of Solr you're using, I checked with 1.4.1.
>>
>> Best
>> Erick
>>
>> On Wed, Apr 27, 2011 at 1:44 AM, Solr Beginner <so...@onet.pl> wrote:
>>> Hi,
>>>
>>> I can see only fieldCache (nothing about filter, query or document
>>> cache) on stats page. What I'm doing wrong? We have two servers with
>>> replication. There are two cores(prod, dev) on each server. Maybe I
>>> have to add something to solrconfig.xml of cores?
>>>
>>> Best Regards,
>>> Solr Beginner
>>>
>>
>

Re: fieldCache only on stats page

Posted by Solr Beginner <so...@onet.pl>.
Solr version:

Solr Specification Version: 3.1.0
Solr Implementation Version: 3.1.0 1085815 - grantingersoll -
2011-03-26 18:00:07
Lucene Specification Version: 3.1.0
Lucene Implementation Version: 3.1.0 1085809 - 2011-03-26 18:06:58
Current Time: Wed Apr 27 14:28:34 CEST 2011
Server Start Time:Wed Apr 27 11:07:00 CEST 2011

According to cache I can see only following informations:

CACHE

name:    fieldCache
class:   org.apache.solr.search.SolrFieldCacheMBean
version:         1.0
description:     Provides introspection of the Lucene FieldCache, this
is **NOT** a cache that is managed by Solr.
sourceid:        $Id: SolrFieldCacheMBean.java 984594 2010-08-11
21:42:04Z yonik $
source:          $URL:
https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_1/solr/src/java/org/apache/solr/search/SolrFieldCacheMBean.java
$
name:    fieldValueCache
class:   org.apache.solr.search.FastLRUCache
version:         1.0
description:     Concurrent LRU Cache(maxSize=10000, initialSize=10,
minSize=9000, acceptableSize=9500, cleanupThread=false)
sourceid:        $Id: FastLRUCache.java 1065312 2011-01-30 16:08:25Z rmuir $
source:          $URL:
https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_1/solr/src/java/org/apache/solr/search/FastLRUCache.java
$

Nothing about filterCache or documentCache ;/

On Wed, Apr 27, 2011 at 2:00 PM, Erick Erickson <er...@gmail.com> wrote:
> There's nothing special you need to do to be able to view the various
> stats from admin/stats.jsp. If another look doesn't show them, could you
> post a screenshot?
>
> And please include the version of Solr you're using, I checked with 1.4.1.
>
> Best
> Erick
>
> On Wed, Apr 27, 2011 at 1:44 AM, Solr Beginner <so...@onet.pl> wrote:
>> Hi,
>>
>> I can see only fieldCache (nothing about filter, query or document
>> cache) on stats page. What I'm doing wrong? We have two servers with
>> replication. There are two cores(prod, dev) on each server. Maybe I
>> have to add something to solrconfig.xml of cores?
>>
>> Best Regards,
>> Solr Beginner
>>
>

Re: fieldCache only on stats page

Posted by Erick Erickson <er...@gmail.com>.
There's nothing special you need to do to be able to view the various
stats from admin/stats.jsp. If another look doesn't show them, could you
post a screenshot?

And please include the version of Solr you're using, I checked with 1.4.1.

Best
Erick

On Wed, Apr 27, 2011 at 1:44 AM, Solr Beginner <so...@onet.pl> wrote:
> Hi,
>
> I can see only fieldCache (nothing about filter, query or document
> cache) on stats page. What I'm doing wrong? We have two servers with
> replication. There are two cores(prod, dev) on each server. Maybe I
> have to add something to solrconfig.xml of cores?
>
> Best Regards,
> Solr Beginner
>