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 2C9B7200B2F for ; Sun, 3 Jul 2016 15:49:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2B291160A6B; Sun, 3 Jul 2016 13:49: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 7566D160A50 for ; Sun, 3 Jul 2016 15:49:33 +0200 (CEST) Received: (qmail 95737 invoked by uid 500); 3 Jul 2016 13:49:32 -0000 Mailing-List: contact dev-help@zest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zest.apache.org Delivered-To: mailing list dev@zest.apache.org Received: (qmail 95726 invoked by uid 99); 3 Jul 2016 13:49:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jul 2016 13:49:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 12D1DC8112 for ; Sun, 3 Jul 2016 13:49:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.28 X-Spam-Level: X-Spam-Status: No, score=0.28 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id wchoh7XMQhHB for ; Sun, 3 Jul 2016 13:49:29 +0000 (UTC) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 9C8655FB35 for ; Sun, 3 Jul 2016 13:49:29 +0000 (UTC) Received: from mfilter16-d.gandi.net (mfilter16-d.gandi.net [217.70.178.144]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 105EE1720A1 for ; Sun, 3 Jul 2016 15:49:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter16-d.gandi.net Received: from relay4-d.mail.gandi.net ([IPv6:::ffff:217.70.183.196]) by mfilter16-d.gandi.net (mfilter16-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id h5JxX7kwMaH6 for ; Sun, 3 Jul 2016 15:49:26 +0200 (CEST) X-Originating-IP: 212.195.187.94 Received: from parangon.local (rab34-h03-212-195-187-94.dsl.sta.abo.bbox.fr [212.195.187.94]) (Authenticated sender: paul@nosphere.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id A12CD17209C for ; Sun, 3 Jul 2016 15:49:26 +0200 (CEST) Message-ID: <577917E6.20609@nosphere.org> Date: Sun, 03 Jul 2016 15:49:26 +0200 From: Paul Merlin User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: dev@zest.apache.org Subject: Re: =?gb18030?Q?=BB=D8=B8=B4=A3=BA_=BB=D8=B8=B4=A3=BA_Large_?= =?gb18030?Q?Scale_Entity_Store_Database=3F?= References: In-Reply-To: X-Enigmail-Version: 1.2.3 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: 8bit archived-at: Sun, 03 Jul 2016 13:49:34 -0000 zhuangmz08 a crit : > Hi, > I've trying out elasticsearch index/query engine. However, I meet this exception: MaxBytesLengthExceededException[bytes can be at most 32766 in length; got 79504] > I found an answer in stackoverflow (https://stackoverflow.com/questions/24019868/utf8-encoding-is-longer-than-the-max-length-32766) says that elasticsearch only support short text. > Maybe I have to split the long field into small fields? Hi, Yes, you hit a hard limitation in Lucene. I'll update the documentation to mention them. Spliting your fields could be a strategy. On the other hand, if you don't need to query that field, set it to @Queryable(false) to get rid of the issue. HTH /Paul