[ 
https://issues.apache.org/jira/browse/SOLR-5840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Furkan KAMACI updated SOLR-5840:
--------------------------------

    Attachment: SOLR-5840.patch

I've applied a patch and kept the previous indent for that condition.

> 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.8, 5.0
>
>         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.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to