lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lu" <chris...@gmail.com>
Subject Re: How to speed-up index opening
Date Wed, 29 Aug 2007 21:33:44 GMT
Hi, Antoine,

It does take a long time to open the index reader.
One thing you could do is to put new documents into one smaller index and
re-open it, it should be much faster.

Also, you may need to have one index reader open, and open a new index
reader, then close the previous index reader, to ensure no service down
time.

-- 
Chris Lu
-------------------------
Instant Scalable Full-Text Search On Any Database/Application
site: http://www.dbsight.net
demo: http://search.dbsight.com
Lucene Database Search in 3 minutes:
http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes

On 8/29/07, Antoine Baudoux <ab@taktik.be> wrote:
>
>         Hello,
>
>         I have an application with a 2GB index. A lot of documents (up to
> 10.000 per day) are added/deleted to this index.
>
> My customer would like to have a Maximum of 7 minutes delay between a
> media added to the system and its searchability through the index.
>
> So each 7 minutes or so i have to re-open the index.
>
> My index takes 1.5 minute to open. Its a long time compared to the 7
> minutes.
>
> What are the key parameters influencing the opening time?
>
> Is it proportional to the number of documents? to the number of
> distinct terms? If i reduce the number of terms will it load faster?
>
> Is there another way to improve index opening speed?
>
>
> thanks!
>
> Antoine
>
> --
> Antoine Baudoux
> Development Manager
> ab@taktik.be
> Tél.: +32 2 333 58 44
> GSM: +32 499 534 538
> Fax.: +32 2 648 16 53
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message