RE: Turn off caching

2011-02-11 Thread Jagdish Vasani IN
I don't think there is option to disable cache in solrconfig.xml in Solr 1.4..You need to modify/change code at time of creating SolrIndexSearcher instance in class SorlCore. Thanks, Jagdish -Original Message- From: Isan Fulia [mailto:isan.fu...@germinait.com] Sent: Tuesday, February 08

Re: Turn off caching

2011-02-11 Thread Li Li
besides fieldCache, there is also a cache for termInfo. I don't know how to turn it off in both lucene and solr. codes in TermInfosReader /** Returns the TermInfo for a Term in the set, or null. */ TermInfo get(Term term) throws IOException { return get(term, true); } /** Returns the

Re: Turn off caching

2011-02-10 Thread Stijn Vanhoorelbeke
Hi, You can comment out all sections in solrconfig.xml pointing to a cache. However, there is a cache deep in Lucence - the fieldcache - that can't be commented out. This cache will always jump into the picture If I need to do such things, I restart the whole tomcat6 server to flush ALL cache

Re: Turn off caching

2011-02-10 Thread Li Li
do you mean queryResultCache? you can comment related paragraph in solrconfig.xml see http://wiki.apache.org/solr/SolrCaching 2011/2/8 Isan Fulia : > Hi, > My solrConfig file looks like > > >   > >   >     multipartUploadLimitInKB="2048" /> >   > >   default="true" /> >   >   class="org.apache.so