You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by James Fitzsimons <ja...@gmail.com> on 2008/03/31 23:33:48 UTC
New user in need of advice
Hi all,
I am in the process of building a commercial website and have we have
selected Lucene.Net as our primary index source. I have built the basic
index and search functionality and it seems to be working well so far,
however I do have a few questions:
1) What is considered a reasonable update rate for a Lucene index? E.g. I
expect we will eventually have several hundred thousand documents in the
index and users of our website can vote on documents. Would it be reasonable
to attempt to update the index in real time? Also, I have come across the
requirement to reconstruct the IndexSearcher after every update and have
read that this is very costly. How do people get around this?
2) I have a program that rebuilds my index on request (useful for debugging)
however it seems a little slow. I am indexing 1000 documents in around 30
secs, is that a reasonable rate? I've tried my best to optimise the indexing
process by using a RAMDirectory and changing the MaxBufferedDocs to 100000
and MergeFactor to 10000. Any other suggestions?
I'm using Lucene.Net 2.0.0.4.
I apologise if these questions have been asked and answered a million times
already, I can't seem to find much up to date information on the web and my
book "Lucene in Action" is well out of date now.
Thanks for any advice you can provide!
Regards,
James