14 feb 2007 kl. 14.57 skrev Kainth, Sachin:

I have read that Lucene performs caching of search results so that if
you perform the same search in succession the second result should be
returned faster.  What I wanted to ask is whether this caching is any
good or whether it's a good idea to add some sort of caching layer on
top of Lucene to improve on it.

There is some fairly advanced caching on top of the Searcher going on
in both Solr and LUCENE-550. In some cases I've using nothing more
than a simple Map<Query, ScoreDoc[]> cleared on index updates and seen
the CPU go from 1% idle to 90% idle.

What you should use really depends on your index and how the users act.

--
karl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to