Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BBE502009F8 for ; Fri, 3 Jun 2016 20:08:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BA79D160A49; Fri, 3 Jun 2016 18:08:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0ECAB160A3B for ; Fri, 3 Jun 2016 20:08:26 +0200 (CEST) Received: (qmail 98087 invoked by uid 500); 3 Jun 2016 18:08:25 -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 Received: (qmail 98048 invoked by uid 99); 3 Jun 2016 18:08:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2016 18:08:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 22850C0D0F for ; Fri, 3 Jun 2016 18:08:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.528 X-Spam-Level: X-Spam-Status: No, score=-1.528 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-1.426, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=elyograg.org Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id y5Jae9tLeGkd for ; Fri, 3 Jun 2016 18:08:21 +0000 (UTC) Received: from frodo.elyograg.org (frodo.elyograg.org [166.70.79.219]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 9DFB65F39A for ; Fri, 3 Jun 2016 18:08:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by frodo.elyograg.org (Postfix) with ESMTP id 0028D6C3 for ; Fri, 3 Jun 2016 12:08:15 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=elyograg.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject:received:received; s=mail; t= 1464977295; bh=k1pmXNkMwDac67h5TI01FN/U4a4NvP2wUJ8ysVimQg0=; b=b HMufYGxToonk97c0yFxSrS+9S50ndPGk6kC1N5h2flIG5WwQ7DeTq/NR2EUpMH3t J8tsnpvinBZIM+Dete4Oja465C0DcpFvDYtD9N7QZOX14sUkWKxz4SZO1cEaQdHA /r42dwACqOWmrDJE+8phFptV7orqGW5GAwUSszYvSU= X-Virus-Scanned: Debian amavisd-new at frodo.elyograg.org Received: from frodo.elyograg.org ([127.0.0.1]) by localhost (frodo.elyograg.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id fUBgazPV2jOw for ; Fri, 3 Jun 2016 12:08:15 -0600 (MDT) Received: from [10.2.0.108] (client175.mainstreamdata.com [209.63.42.175]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: elyograg@elyograg.org) by frodo.elyograg.org (Postfix) with ESMTPSA id 07614156 for ; Fri, 3 Jun 2016 12:08:14 -0600 (MDT) Subject: Re: AtomicUpdateDocumentMerger Unknown operation for the an atomic update, operation ignored To: solr-user@lucene.apache.org References: From: Shawn Heisey Message-ID: Date: Fri, 3 Jun 2016 12:08:13 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit archived-at: Fri, 03 Jun 2016 18:08:27 -0000 On 6/3/2016 7:54 AM, Markus Jelsma wrote: > Just now i indexed ~15k doc to a newly made core and shema, running > 6.0 local this time. It was just regular indexing, nothing fancy and > very small documents. Then the following popped up in the logs: > 2496200 WARN (qtp97730845-17) [ x:documents] > o.a.s.u.p.AtomicUpdateDocumentMerger Unknown operation for the an > atomic update, operation ignored: 3932885930 This happens when you add a document where the value of a field is a key/value construct, but isn't actually an atomic update. In JSON, this is represented with curly braces. In Java, it is a Map object. This kind of construct is only used for Atomic Updates -- the key must be one of the atomic operations: set, add, delete, inc. The warning message that I quoted indicates that the the key in the key/value construct for that document was 3932885930. If you are using SolrJ, then the value of one or more fields is being set to a Map object, which isn't right unless you intend to do an Atomic Update. If you are using JSON formatted updates, there are probably curly braces where they don't belong. Thanks, Shawn