You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Furkan KAMACI (JIRA)" <ji...@apache.org> on 2014/03/08 21:01:42 UTC

[jira] [Updated] (SOLR-5840) UpdateRequest does not check lastCommitWithin and commitWithin properly

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org