lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <>
Subject Re: Disk space needed for indexing???
Date Thu, 16 Dec 2004 18:35:25 GMT
The exact disk space usage depends on the number of fields in the index
and on how many of them store the original text.  You should also keep
in mind that the call to IndexWriter's optimize() will result in your
index directory size doubling while the optimization is in progress, so
if you want to optimize you will need extra free disk space.


--- wrote:

> Hi, everyone,
> Does anyone have any idea how much disk space will be needed for
> generating the final index with ~1.5G size, for example?
> I have ~3.5G disk space and is able to generate index with 1G size.
> However, after I add more records, it will run out of disk space.
> Does
> Lucene suppose to take so much disk space for indexing? Is there any
> way
> that I can improve the code to let it take less space?
> Thanks,
> Ying
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message