> On 3/1/13 8:26 AM, Thomas den Braber wrote:
>
> 
> $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.

That is what I do. After every 20 ->add(..) calls I do one commit and then 
create a new
Indexer object and add another 20. This works fine for most of the time but 
sometimes when
I add a lot I get the 'input 47 too high' error.

---
Thomas den Braber


Reply via email to