Hi, As long as I can search on the current ("older") index while importing, I'm good. I've tested this and I can search the older index while data-importing the newer index.
So you can search the older index in your 5 hour wait? Thanks, Tri ________________________________ From: Shawn Heisey <s...@elyograg.org> To: solr-user@lucene.apache.org Sent: Wed, October 13, 2010 3:38:48 PM Subject: Re: searching while importing If you are using the DataImportHandler, you will not be able to search new data until the full-import or delta-import is complete and the update is committed. When I do a full reindex, it takes about 5 hours, and until it is finished, I cannot search it. I have not tried to issue a manual commit in the middle of an import to see whether that makes data inserted up to that point searchable, but I would not expect that to work. If you need this kind of functionality, you may need to change your build system so that a full import clears the index manually and then does a series of delta-import batches. On 10/13/2010 3:51 PM, Tri Nguyen wrote: > Hi, > Can I perform searches against the index while it is being imported? > Does importing add 1 document at a time or will solr make a temporary index >and > switch to that index when indexing is done? > Thanks, > Tri