lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: is query cache persisted?
Date Wed, 13 Apr 2011 03:07:17 GMT
Hi,

Are you using raw Lucene or Solr?  If Solr, your query is probably cached in the 
query results cache (see your solrconfig.xml).

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: Yang <teddyyyy123@gmail.com>
> To: general@lucene.apache.org
> Sent: Tue, April 12, 2011 1:35:19 PM
> Subject: is query cache persisted?
> 
> I was trying to trace through the calls in Lucene,
> and when I invoked the  same query for the second time, scorer.score()
> is no longer called  anymore,
> and the query returns very fast.
> 
> this seems to be even this  case after I restarted tomcat, so I'm
> wondering: is the query cache persisted  in Lucene?
> if so, how could I purge it?
> 
> Thanks a lot
> Yang
> 

Mime
View raw message