You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Markus Jelsma <ma...@openindex.io> on 2016/11/03 17:18:44 UTC

UpdateProcessor as a batch

Hi - i need to process a batch of documents on update but i cannot seem to find a point where i can hook in and process a list of SolrInputDocuments, not in UpdateProcessor nor in UpdateHandler.

For now i let it go and implemented it on a per-document basis, it is fast, but i'd prefer batches. Is that possible at all?

Thanks,
Markus

Re: UpdateProcessor as a batch

Posted by Erick Erickson <er...@gmail.com>.
Markus:

How are you indexing? SolrJ has a client.add(List<SolrInputDocument>)
form, and post.jar lets you add as many documents as you want in a
batch....

Best,
Erick

On Thu, Nov 3, 2016 at 10:18 AM, Markus Jelsma
<ma...@openindex.io> wrote:
> Hi - i need to process a batch of documents on update but i cannot seem to find a point where i can hook in and process a list of SolrInputDocuments, not in UpdateProcessor nor in UpdateHandler.
>
> For now i let it go and implemented it on a per-document basis, it is fast, but i'd prefer batches. Is that possible at all?
>
> Thanks,
> Markus