Sorry I cannot check this at the moment and can only try and answer you from
the top of my head.
 
IIRC, there is no such thing in CLucene 2.3.2 (the latest version we have),
since it wasn't in Java Lucene 2.3.2. I may be wrong though. How's this
configuration called? Try looking for it in our config or shared folders.
 
What I can tell you, is you can prevent the index file from being optimized
during indexing, and to perform optimization only when you are done. This
will boost your indexing in a few hunderd percents. This is done in a way
similar to this:
 
writer = new IndexWriter(...);
writer->setUseCompoundFile(false);
// Index stuff here
writer->setUseCompoundFile(true);
writer->optimize();
writer->close();
_CLDELETE(writer);
 
Itamar.

  _____  

From: Saurabh Agarwal [mailto:srbh.g...@gmail.com] 
Sent: Wednesday, April 07, 2010 2:18 PM
To: clucene-developers@lists.sourceforge.net
Subject: [CLucene-dev] Index Writing


Hi,  

I am doing some performance evaluations on C-LUCENE, with index stored on
the network drive. I see that index is written to disk multiple times before
the final index preparation, Java Lucene has a variable in configuration
file to actually control how much memory it will use before purging the
partial file.
Does CLucene has similar varibale, if yes where can I find it


Thanks in advance  
Saurabh Agarwal

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to