[
https://issues.apache.org/jira/browse/SOLR-3535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293761#comment-13293761
]
Simon Rosenthal commented on SOLR-3535:
---------------------------------------
Mikhail:
not clear to me from the code/comments exactly what this issue/patch is meant
to accomplish. I'm assuming that the intention is to be able to add atomically
every document in the block at once ?
That is a use case which I have encountered (a batch update of a set of
records with new product price information, where you want to commit them only
when the complete set has been indexed, regardless of autocommits being fired
off or other processes issuing commits). If that's the intention, this patch is
great !
I attempted to address the problem of undesired autocommits in SOLR-2664 -
enable/disable autocommit on the fly, but that patch is very out of date.
I do think it should be extended to updates in CSV/JSON and updates using the
SolrJ API.
+1 for Erik's suggestion on the syntax.
> Add block support for XMLLoader
> -------------------------------
>
> Key: SOLR-3535
> URL: https://issues.apache.org/jira/browse/SOLR-3535
> Project: Solr
> Issue Type: Sub-task
> Components: update
> Affects Versions: 4.1, 5.0
> Reporter: Mikhail Khludnev
> Priority: Minor
> Attachments: SOLR-3535.patch
>
>
> I'd like to add the following update xml message:
> <add-block>
> <doc>....</doc>
> <doc>....</doc>
> </add-block>
> out of scope for now:
> * other update formats
> * update log support (NRT), should not be a big deal
> * overwrite feature support for block updates - it's more complicated, I'll
> tell you why
> Alt
> * wdyt about adding attribute to the current tag {pre}<add block="true">{pre}
> * or we can establish RunBlockUpdateProcessor which treat every <add>
> ....</add> as a block.
> *Test is included!!*
> How you'd suggest to improve the patch?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]