RE: Turn off caching

2011-02-11 Thread Jagdish Vasani IN
ruary 08, 2011 5:02 PM To: solr-user@lucene.apache.org Subject: Turn off caching Hi, My solrConfig file looks like *:* EveryTime I fire the same query so as to compare the results for different configurations , the query result time is getting re

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

Turn off caching

2011-02-08 Thread Isan Fulia
Hi, My solrConfig file looks like *:* EveryTime I fire the same query so as to compare the results for different configurations , the query result time is getting reduced because of caching. So I want to turn off the cahing or clear the ache before