RE: get filterCache in Component

2013-02-18 Thread Markus Jelsma
d create a separate issue for that, would that break things? Be really bad? Thanks, Markus -Original message- > From:Mikhail Khludnev > Sent: Fri 15-Feb-2013 21:17 > To: solr-user > Subject: Re: get filterCache in Component > > Markus, > > I wonder why you need

Re: get filterCache in Component

2013-02-15 Thread Mikhail Khludnev
gt; Sent: Thu 14-Feb-2013 13:18 > > To: solr-user@lucene.apache.org > > Subject: get filterCache in Component > > > > Hi, > > > > We need to get the filterCache in a Component but > SolrIndexSearcher.getCache(String name) does not return it. It seems the > filterCac

RE: get filterCache in Component

2013-02-15 Thread Chris Hostetter
: I need to get the filterCache for SOLR-4280. I can create a new issue : patching SolrIndexSearcher and adding the missing caches (non-user : caches) to the cacheMap so they can be returned using getCache(String) : but i'm not sure this is intented. It does work but is this the right : path?

RE: get filterCache in Component

2013-02-15 Thread Markus Jelsma
https://issues.apache.org/jira/browse/SOLR-4280 Thanks, Markus -Original message- > From:Markus Jelsma > Sent: Thu 14-Feb-2013 13:18 > To: solr-user@lucene.apache.org > Subject: get filterCache in Component > > Hi, > > We need to get the f

get filterCache in Component

2013-02-14 Thread Markus Jelsma
Hi, We need to get the filterCache in a Component but SolrIndexSearcher.getCache(String name) does not return it. It seems the filterCache is not added to cacheMap and can therefore not be returned. SolrCache filterCache = rb.req.getSearcher().getCache("filterCache"); Will always return null.