On 06-Jun-2012, at 8:49 PM, Ben Companjen wrote:

> On 6 June 2012 16:50, Anand Chitipothu <[email protected]> wrote:
>> 
>> On 06-Jun-2012, at 6:10 PM, Ben Companjen wrote:
>> 
>>> Hi Anand,
>>> 
>>> Thanks for the quick response, but I'm afraid you mixed up my two questions 
>>> :)
>>> 
>>> My first question was in general: how should I use save_many?
>> 
>> I'm not sure what you mean. If you are asking about how many docs you should 
>> save per chunk, I would say, 100.
>> 
> The method has three parameters: query, comment and action. Should the
> argument for query be a list of documents? It is just a name, but to
> me "query" doesn't seem the most obvious parameter name for "(list of)
> documents you want to store", so I would like to know if my assumption
> is correct. And what values does action take, and what do they do?

Yes, the first argument is the list of docs.

The second one is the comment and third argument is optional and better left 
out. It is used to indicate actions like author-merge etc.

Anand
_______________________________________________
Ol-tech mailing list
[email protected]
http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
To unsubscribe from this mailing list, send email to 
[email protected]

Reply via email to