While not exactly what you are describing, you can use one of the IndexWriter parameters (maxBufferedDocs) to control the size of the RAMDirectory that's used as a buffer during indexing.
Otis --- Gopikrishnan Subramani <[EMAIL PROTECTED]> wrote: > Hello, > > Is there a way I can control the IO bandwidth utilized by Lucene? > > Here is my scenario. RAMDirectory is used to build a in-memory index > and finally the index size approaches a limit, the contents are > flushed to a FSDirectory. The index size could be approximately 512 > MB. I'm a bit concerned that this might affect other NFS clients of > the same NFS server, even if it's for a short period. To avoid this I > would like to implement some sort of limit on the amount of data > transferred to the filesystem akin to the --bwlimit with the rsync > command. > > Thanks, > Gopi > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]