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 66B8C200B66 for ; Thu, 18 Aug 2016 17:40:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 654B5160AAE; Thu, 18 Aug 2016 15:40:34 +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 AAD2F160A86 for ; Thu, 18 Aug 2016 17:40:33 +0200 (CEST) Received: (qmail 76802 invoked by uid 500); 18 Aug 2016 15:40:32 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 76790 invoked by uid 99); 18 Aug 2016 15:40:31 -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; Thu, 18 Aug 2016 15:40:31 +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 62867C041B for ; Thu, 18 Aug 2016 15:40:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 1EyiOxuwkGxM for ; Thu, 18 Aug 2016 15:40:30 +0000 (UTC) Received: from mail-qk0-f178.google.com (mail-qk0-f178.google.com [209.85.220.178]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 04E0D5FBB5 for ; Thu, 18 Aug 2016 15:40:29 +0000 (UTC) Received: by mail-qk0-f178.google.com with SMTP id v123so19895368qkh.2 for ; Thu, 18 Aug 2016 08:40:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=rpctKmZys6udf/YP9+ewY3/htO5LNU+LshA2xbOg0zE=; b=FZE50NMc7klI8YjVrqIKDGTyQ5Y6wZbqD3Ya+laZS5y7yHq44IvUVoNg25rVvNwVfF oZfjEyFHF1VwAqGX6EgShG2bvI3Bxym1L2lC7SJUu5EXS+xv0G+9UgHvQyeRrxzxwBr2 bYWNRxDtx7TAodwV7WZvTYEW+W9hNhD1pTHMtLOczcWkG8cwEKTS5ZCrMHrbrTNvfKxA 2x1/IMJIg1NNcDim93Z6ihcIHToMwe6oXXahqhQ7shz+jMEbn8Sk+MjSMHDtsKRlrsoT srd2aA5H20iE4c1SXCpZGW9t/ySh8B8v61X2VS8ltclo6QHeUvJ9w1wBpbwCN+pMGhxh PfQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rpctKmZys6udf/YP9+ewY3/htO5LNU+LshA2xbOg0zE=; b=lcPrGHOUpDQA13TlSbWQhQzBWRlpvXEblKNQpokXSayF5Q08iZHmuYVnPEe684/dLO JE4j/SMzUtBVL/n5WCDggSWpdaUjk26lZwwDoEPZQJ+/UhIjLKKVKFA4vLiGwI1Xd05f 6gqShhWuKgIv+zMou3EEg/WMUn7u57RVjKwbIAzEFrsTPkGCh89bcBxGK2ZUjl8Z/dP9 nSHbUesTfqBgvflKK/4wzr45ONvU8HlkiklVp2xy2hcEr3XSVShPvyMwIeL36MzysMxk 1ic0BbjDnSbCiOTsZgNl/MJ57ReAuUBvkpe/m9x/4bZecKj1Bh7XUK3UnxZedyoyFkbP j6FA== X-Gm-Message-State: AEkoousyRICGCOiRNCSS3f2i6eF17BXOVfAh/7SYjtsakx0vgPMRflEBx+/M+F0nE4RszcuzgpVEn6m6hSiWCA== X-Received: by 10.55.20.197 with SMTP id 66mr3063102qku.258.1471534829453; Thu, 18 Aug 2016 08:40:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.57.136 with HTTP; Thu, 18 Aug 2016 08:40:29 -0700 (PDT) From: Cristian Lorenzetto Date: Thu, 18 Aug 2016 17:40:29 +0200 Message-ID: Subject: help for a migration error to 6.1 version To: Lucene Users Content-Type: multipart/alternative; boundary=001a1145eb20c8c626053a5a66a3 archived-at: Thu, 18 Aug 2016 15:40:34 -0000 --001a1145eb20c8c626053a5a66a3 Content-Type: text/plain; charset=UTF-8 in my old code i created public class BinDocValuesField extends Field { /** * Type for numeric DocValues. */ public static final FieldType TYPE = new FieldType(); static { TYPE.setTokenized(false); TYPE.setOmitNorms(true); TYPE.setIndexOptions(IndexOptions.DOCS); TYPE.setStored(true); TYPE.setDocValuesType(DocValuesType.BINARY); TYPE.freeze(); } public BinDocValuesField(String name, byte[] value) { super(name, TYPE); fieldsData = new BytesRef(value); } } and in test code i created 4 documents adding BinDocValuesField fields where 2 docs has same binary and other 2 the same binary. executing TopGroups tg = search.search(searcher, query, groupIndex, LIMIT ); now i have 4 groups instead of 2 groups. tg.totalGroupCount is correctly 2. any idea what can be changed? --001a1145eb20c8c626053a5a66a3--