Furkan KAMACI created SOLR-5840:
-----------------------------------

             Summary: 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


{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