Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4297C10323 for ; Tue, 17 Sep 2013 15:15:38 +0000 (UTC) Received: (qmail 72249 invoked by uid 500); 17 Sep 2013 15:15:26 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 72147 invoked by uid 500); 17 Sep 2013 15:15:26 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Delivered-To: moderator for solr-user@lucene.apache.org Received: (qmail 59341 invoked by uid 99); 17 Sep 2013 14:39:54 -0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of seshasendhil@gmail.com designates 209.85.223.178 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=EATGXXaJrWbqBarMj+zBLB9ewbaa0eoAvkhkxbvLPxY=; b=FNFkLiNoSlHY4G4U1Sm12fEE8nDYpdZRIyqxHBWMSoIf+1mXq5uJz/sL/WtBiEH9cU GXQwVsDdmcacKubpkqF7GBLAiOkSbZaUM2BVT58BpEJFu3xIC/aekIqkVIdP9GbsjV5t WSM2ThOxAcq6UOPXMhKtD0alf6JCcI6pZBSxVY8WKQ1keTEtRfOZFDVTnF7y5g/6u0Yq uGa2fZyV3Bg0ayIRTCJrr/g/qcNW6isxMi+kqO5tT8FJ/QdiCkCaBFEp6RTusG+pAjB/ ItKKrWXjPkeS10b0xl4blkfrIV1s7/QViOtkCOfQdpC13rAceB984sH43FHhzi/yZvTl M0kA== MIME-Version: 1.0 X-Received: by 10.50.117.3 with SMTP id ka3mr1169768igb.15.1379428767557; Tue, 17 Sep 2013 07:39:27 -0700 (PDT) Date: Tue, 17 Sep 2013 20:09:27 +0530 Message-ID: Subject: Atomic updates with solr cloud in solr 4.4 From: Sesha Sendhil To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=089e01175f6daef1ef04e695499b X-Virus-Checked: Checked by ClamAV on apache.org --089e01175f6daef1ef04e695499b Content-Type: text/plain; charset=ISO-8859-1 Hi, I am using solr 4.4 in solr cloud configuration. When i try to 'set' a field in a document using the update request handler, I get a 'missing required field' error. However, when I send this query to the specific shard containing the document, the update succeeds. Is this a bug in solr 4.4 or am I doing something wrong I started the shards specifying numShards and have checked that the router used is the compositeId router. Distributed indexing is done based on ids sharing the same domain/prefix, i.e. 'customerB!xxxx' form and the documents are distributed in the shards correctly. Querying for documents works as expected and returns all matching documents across shards. Thanks Sesha --089e01175f6daef1ef04e695499b--