RE: get filterCache in Component

2013-02-18 Thread Markus Jelsma
a separate issue for that, would that break things? Be really bad? Thanks, Markus -Original message- From:Mikhail Khludnev mkhlud...@griddynamics.com Sent: Fri 15-Feb-2013 21:17 To: solr-user solr-user@lucene.apache.org Subject: Re: get filterCache in Component Markus, I wonder why

RE: get filterCache in Component

2013-02-15 Thread Markus Jelsma
Hi, 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 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 Mikhail Khludnev
Markus, I wonder why you need an access to it. I've thought that current searcher's methods (getDocSet(), cacheDocSet() ) are enough to do everything. Anyway, if you wish, I just looked in code and see that it's available via core.getInfoRegistry().get(filterCache), it can lead to some problems,