[ 
https://issues.apache.org/jira/browse/SOLR-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102123#comment-13102123
 ] 

Mark Miller commented on SOLR-2355:
-----------------------------------

This class does not currently properly propagate commithWithin and overwrite 
settings from AddUpdateCommands. I've got some code to address this that we 
should probably incorporate before committing. The standard UpdateRequest class 
that is used does not allow for fine grained commitWithin (only per request, 
not per document like you can do with an AddUpdateCommand), or any overwrite. 
Also, these settings are not cloned when cloning the command. By adding those 
properties to the clone, and using a new UpdateRequest that has an add(SolrDoc, 
commitWithin, overwrite), this can be addressed.

> simple distrib update processor
> -------------------------------
>
>                 Key: SOLR-2355
>                 URL: https://issues.apache.org/jira/browse/SOLR-2355
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud, update
>            Reporter: Yonik Seeley
>            Priority: Minor
>             Fix For: 3.4, 4.0
>
>         Attachments: DistributedUpdateProcessorFactory.java, 
> TestDistributedUpdate.java
>
>
> Here's a simple update processor for distributed indexing that I implemented 
> years ago.
> It implements a simple hash(id) MOD nservers and just fails if any servers 
> are down.
> Given the recent activity in distributed indexing, I thought this might be at 
> least a good source for ideas.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to