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
>
|