It's not clear to me what you mean by reading the index every time.
If you mean that you open a new searcher for every search, then no,
it's not good.

If you mean that every search or paging request gets passed to lucene
then that is standard practice and is fine.

See http://wiki.apache.org/lucene-java/ImproveSearchingSpeed for loads
of good advice.


--
Ian.


On Fri, Aug 7, 2009 at 12:10 PM, m.harig<m.ha...@gmail.com> wrote:
>
> hello all,
>
>              thanks to lucene. Am using lucene 2.4.0 for my application. My
> doubt is , can i read the index for many number of times? i mean , i've a
> search application which reads the index , which is 300MB in size, am
> reading my index at every time the user hits the page . Is it good to read
> index at every time? or else is there any caching technique to handle  this?
> --

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to