简体   繁体   中英

How to bulk upload documents using Watson Discovery API?

I created one application that inserts or updates documents (depending on whether it is already present or not) in Watson Discovery, using Java.Currently, it is doing the upload one by one, in a for loop.I need to get the same functionality with bulk upload of documents. Is bulk upload feature present in Watson Discovery API? Couldn't find anything in documentation. Could someone point me to any resource on bulk upload of documents?

There is no bulk upload feature in Discovery today, your approach is correct. Keep in mind you can use many threads though so the upload doesn't need to be one-by-one.

(I am an IBM Watson Discovery employee)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM