I just looked into it more... for the case I'm looking at, getSize()
does not help because it returns how many elements are in the cache,
not the max size.
I can get what I need with:
SolrConfig.config.getInt( "query/filterCache/@size", -1 );
so lets put off adding getters to SolrIndexSearcher
On 4/4/07, Erik Hatcher <[EMAIL PROTECTED]> wrote:
On Apr 4, 2007, at 7:28 PM, Ryan McKinley wrote:
> Is there / should there be a way to access the three core caches?
there should. +1
> I want to be able to programmatic check the cache sizes and make sure
> they are big enough for facetin
On Apr 4, 2007, at 7:28 PM, Ryan McKinley wrote:
Is there / should there be a way to access the three core caches?
there should. +1
I want to be able to programmatic check the cache sizes and make sure
they are big enough for faceting.
i could use the same thing!
Erik
Is there / should there be a way to access the three core caches?
You can access user defined caches from:
searcher.getCache( "name" );
The three core caches only have private access from SolrIndexSearcher.
I want to be able to programmatic check the cache sizes and make sure
they are big enou