I was using clucene 0.9.21-b, on CLucene 2.3.2 we can change variable
DEFAULT_RAM_BUFFER_SIZE_MB at
location clucene/src/core/CLucene/index/IndexWriter.cpp or use
writer.setRAMBufferSizeMB() function to change the buffer size beforee
purging the data
Regards
Saurabh Agarwal
On Thu, Apr 8, 2010 at 5:19 AM, Itamar Syn-Hershko
<[email protected]>wrote:
> 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:[email protected]]
> *Sent:* Wednesday, April 07, 2010 2:18 PM
> *To:* [email protected]
> *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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>
>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/clucene-developers