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

Furkan KAMACI commented on SOLR-5840:
-------------------------------------

[~thetaphi] could you check my patch?

> UpdateRequest does not check lastCommitWithin and commitWithin properly
> -----------------------------------------------------------------------
>
>                 Key: SOLR-5840
>                 URL: https://issues.apache.org/jira/browse/SOLR-5840
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.6.1, 4.7
>            Reporter: Furkan KAMACI
>             Fix For: 4.9, Trunk
>
>         Attachments: SOLR-5840.patch
>
>
> {code}
> ...
> Integer lastCommitWithin = -1;
> ...
> Integer commitWithin = null;
> ...
> if (overwrite != lastOverwrite || commitWithin != lastCommitWithin || 
> docLists.size() == 0) {
>    docList = new LinkedHashMap<SolrInputDocument,Map<String,Object>>();
>    docLists.add(docList);
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to