Re: Queries regarding solr cache

2017-01-04 Thread Shawn Heisey
On 1/4/2017 3:45 AM, kshitij tyagi wrote: > Problem: > > I am Noticing that my slaves are not able to use proper caching as: > > 1. I am indexing on my master and committing frequently, what i am noticing > is that my slaves are committing very frequently and cache is not being > build properly

Re: Queries regarding solr cache

2017-01-04 Thread kshitij tyagi
Hi Shawn, Need your help: I am using master slave architecture in my system and here is the solrconfig.xml: ${enable.master:false} startup commit 00:00:10 managed-schema ${enable.slave:false} http://${MASTER_CORE_URL}/${solr.core.name} ${POLL_TIME} Problem: I am Noticing that my slaves

Re: Queries regarding solr cache

2016-12-05 Thread Shawn Heisey
On 12/5/2016 6:44 AM, kshitij tyagi wrote: > - lookups:381 > - hits:24 > - hitratio:0.06 > - inserts:363 > - evictions:0 > - size:345 > - warmupTime:2932 > - cumulative_lookups:294948 > - cumulative_hits:15840 > - cumulative_hitratio:0.05

Re: Queries regarding solr cache

2016-12-05 Thread kshitij tyagi
Hi Shawn, Thanks for the reply: here are the details for query result cache(i am not using NOW in my queries and most of the queries are common): - class:org.apache.solr.search.LRUCache - version:1.0 - description:LRU Cache(maxSize=1000, initialSize=1000, autowarmCount=10,

Re: Queries regarding solr cache

2016-12-01 Thread Jeff Wartes
I found this, which intends to explore the usage of RoaringDocIdSet for solr: https://issues.apache.org/jira/browse/SOLR-9008 This suggests Lucene’s filter cache already uses it, or did at one point: https://issues.apache.org/jira/browse/LUCENE-6077 I was playing with id set implementations

Re: Queries regarding solr cache

2016-12-01 Thread Shawn Heisey
On 12/1/2016 8:16 AM, Dorian Hoxha wrote: > @Shawn > Any idea why the cache doesn't use roaring bitsets ? I had to look that up to even know what it was. Apparently Lucene does have an implementation of that, a class called RoaringDocIdSet. It was incorporated into the source code in October

Re: Queries regarding solr cache

2016-12-01 Thread Dorian Hoxha
@Shawn Any idea why the cache doesn't use roaring bitsets ? On Thu, Dec 1, 2016 at 3:49 PM, Shawn Heisey wrote: > On 12/1/2016 4:04 AM, kshitij tyagi wrote: > > I am using Solr and serving huge number of requests in my application. > > > > I need to know how can I utilize

Re: Queries regarding solr cache

2016-12-01 Thread Shawn Heisey
On 12/1/2016 4:04 AM, kshitij tyagi wrote: > I am using Solr and serving huge number of requests in my application. > > I need to know how can I utilize caching in Solr. > > As of now in then clicking Core Selector → [core name] → Plugins / Stats. > > I am seeing my hit ration as 0 for all the

Fwd: Queries regarding solr cache

2016-12-01 Thread kshitij tyagi
-- Forwarded message -- From: kshitij tyagi <kshitij.shopcl...@gmail.com> Date: Thu, Dec 1, 2016 at 4:34 PM Subject: Queries regarding solr cache To: solr-user@lucene.apache.org Hi All, I am using Solr and serving huge number of requests in my application. I need to kn

Queries regarding solr cache

2016-12-01 Thread kshitij tyagi
Hi All, I am using Solr and serving huge number of requests in my application. I need to know how can I utilize caching in Solr. As of now in then clicking Core Selector → [core name] → Plugins / Stats. I am seeing my hit ration as 0 for all the caches. What does this mean and how this can be