On 3/1/13 8:26 AM, Thomas den Braber wrote:


I do a commit every 20 records instead of after every record to increase the 
performance.
Is this a good idea? or must I do a commit after every record added


$indexer->commit() should be called once per $indexer object. You are right to batch up as many docs as possible per $indexer, but only one commit() call is needed.


--
Peter Karman  .  http://peknet.com/  .  [email protected]

Reply via email to