lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sushma Sinha" <>
Subject Re: High number of files in the index
Date Mon, 05 May 2003 05:58:24 GMT
The most obvious reason seems to be the increase in number of fields.
 I guess lucene creates one file for each field in the index.
You can check by looking at the file names in the index, if you have N
number of files with the common prefix ,
but different suffix , those are all created for different fields.

And also , is the lucene performance affected by the no of files in the
index. I think u can look at the index size as a whole
And if it affects the performance, is there a way to merge the files and do
further optimization?.. as I have not much info about the additional files
created in the index.

- Sushma

----- Original Message -----
From: "Victor Hadianto" <>
To: "Lucene Users List" <>
Sent: Friday, May 02, 2003 8:57 PM
Subject: High number of files in the index

> Hi list,
> I'm experiencing a high number of files in the Lucene index, even after
> running optimize I still have over 600 files in my Lucene index. Now the
> scary thing is that's about the same number of document that I indexed.
> This problem didn't happen before, the only change that I can think of is
> I'm changing the documents being indexed. Previously all documents have
> same fields, but now each document has a different set of field indexed.
> Is this the problem? Will this cause the high number of files in my index
> directory?
> Please someone say no .. because otherwise I'm dead.
> victor
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message