Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 19244 invoked from network); 14 May 2009 15:55:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 May 2009 15:55:09 -0000 Received: (qmail 40174 invoked by uid 500); 14 May 2009 15:55:08 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 40107 invoked by uid 500); 14 May 2009 15:55:08 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 40086 invoked by uid 99); 14 May 2009 15:55:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 15:55:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 15:55:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A2A60234C1E6 for ; Thu, 14 May 2009 08:54:45 -0700 (PDT) Message-ID: <1563003981.1242316485665.JavaMail.jira@brutus> Date: Thu, 14 May 2009 08:54:45 -0700 (PDT) From: "Jayson Minard (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1162) SolrJ UpdateRequest does not maintain order of operations when sending mixed types of changes (updates, delete id, delete query, update iterator) In-Reply-To: <1071324913.1242165706453.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709446#action_12709446 ] Jayson Minard commented on SOLR-1162: ------------------------------------- Sounds good, didn't like that returned object in the old method anyway... I'll update the unmarshal and unit test that used that object to ensure it was accurate as well. What do you want to do about the deserialization? I think it was unsafe before in that it looked up the lists by names and made assumptions about the parms being first. > SolrJ UpdateRequest does not maintain order of operations when sending mixed types of changes (updates, delete id, delete query, update iterator) > ------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: SOLR-1162 > URL: https://issues.apache.org/jira/browse/SOLR-1162 > Project: Solr > Issue Type: Improvement > Components: clients - java > Affects Versions: 1.3 > Reporter: Jayson Minard > Attachments: Solr-1162.patch, Solr-1162.patch > > > In SolrJ UpdateRequest object it maintains separate lists of documents to add, delete, and delete queries so that the order of those operations is not known to the caller. It really should execute the items in the same order they were added to the UpdateRequest. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.