[EMAIL PROTECTED] wrote: >>------------------------------------------------------------------------ >> >>Subject: >> >>Small indexes >>From: >> >>"David Elworthy" <[EMAIL PROTECTED]> >>Date: >> >>Thu, 23 May 2002 17:04:58 -0400 >>To: >> >><[EMAIL PROTECTED]> >> >> >>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 >curious. >> >>-- 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. >Dmitry. > > > >
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
