Re: Solr Caching (documentCache) not working

2015-08-18 Thread Daniel Collins
Subject: Re: Solr Caching (documentCache) not working On 8/17/2015 7:04 AM, Maulin Rathod wrote: We have observed that Intermittently querying become slower when documentCache become empty. The documentCache is getting flushed whenever new document added to the collection

Re: Solr Caching (documentCache) not working

2015-08-18 Thread Shawn Heisey
On 8/18/2015 2:30 AM, Daniel Collins wrote: I think this is expected. As Shawn mentioned, your hard commits have openSearcher=false, so they flush changes to disk, but don't force a re-open of the active searcher. By contrast softCommit, sets openSearcher=true, the point of softCommit is to

Re: Solr Caching (documentCache) not working

2015-08-17 Thread Yonik Seeley
On Mon, Aug 17, 2015 at 4:36 PM, Daniel Collins danwcoll...@gmail.com wrote: we had to turn off ALL the Solr caches (warming is useless at that kind of frequency Warming and caching are related, but different. Caching still normally makes sense without warming, and Solr is generally written

Re: Solr Caching (documentCache) not working

2015-08-17 Thread Shawn Heisey
On 8/17/2015 7:04 AM, Maulin Rathod wrote: We have observed that Intermittently querying become slower when documentCache become empty. The documentCache is getting flushed whenever new document added to the collection. Is there any way by which we can ensure that newly added documents are

RE: Solr Caching (documentCache) not working

2015-08-17 Thread Maulin Rathod
[mailto:apa...@elyograg.org] Sent: 17 August 2015 19:02 To: solr-user@lucene.apache.org Subject: Re: Solr Caching (documentCache) not working On 8/17/2015 7:04 AM, Maulin Rathod wrote: We have observed that Intermittently querying become slower when documentCache become empty. The documentCache

Re: Solr Caching (documentCache) not working

2015-08-17 Thread Mikhail Khludnev
On Mon, Aug 17, 2015 at 11:36 PM, Daniel Collins danwcoll...@gmail.com wrote: Just to open the can of worms, it *can* be possible to have very low commit times, we have 250ms currently and are in production with that. But it does come with pain (no such thing as a free lunch!), we had to turn

Re: Solr Caching (documentCache) not working

2015-08-17 Thread Daniel Collins
Just to open the can of worms, it *can* be possible to have very low commit times, we have 250ms currently and are in production with that. But it does come with pain (no such thing as a free lunch!), we had to turn off ALL the Solr caches (warming is useless at that kind of frequency, it will