lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Serebrennikov <>
Subject Re: Small indexes
Date Fri, 24 May 2002 18:56:44 GMT wrote:

>>Small indexes
>>"David Elworthy" <>
>>Thu, 23 May 2002 17:04:58 -0400
>>Are there are known problems with indexes over very small numbers of files? I have
a program which works fine when it is indexing plenty of documents, but when it only indexes
10 or so, all that gets created is an 8 byte segments file. I build the index in RAM, and
then merge it to disc, and I am stabilizing and optimizing in appropriate places. The exact
threshold for an index to get created seems to vary with the document size - if they are smaller
you need more of them.
>>It's not a big deal, as my actual document collection is not this small. I'm just
>>-- David Elworthy
>There is no known problem, but there is buffering where 10 documents are 
>indexed into memory and then are flushed to disk. The docs will also be 
>flushed when the IndexWriter is closed. So it looks like you either 
>don't close the indexwriter or something else like that.
>Good luck.

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

View raw message