lucene.net - How to: Increase Lucene .net Indexing Speed -


I'm trying to make a lucene of about 2 million records. Indexing time is around 9 hours. Can you please suggest how to increase performance?

I wrote a horrible post about how a lucene index is parallel It's really written a lot, but you'll find it (there's some sample code that you want to see).

Either way, the main idea is that you want to divide your data into pieces of big size, and then work on each piece on a different thread when each piece is made, Can merge into an index.

With the above-mentioned approach, I am capable of indicating approximately 4 million records. 2 hours.

Hope this gives you the idea of ​​going from here.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -