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 960E3200CA8 for ; Thu, 15 Jun 2017 08:39:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 94B61160BDF; Thu, 15 Jun 2017 06:39:21 +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 DBA22160BC4 for ; Thu, 15 Jun 2017 08:39:20 +0200 (CEST) Received: (qmail 93057 invoked by uid 500); 15 Jun 2017 06:39:19 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 93046 invoked by uid 99); 15 Jun 2017 06:39:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jun 2017 06:39:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 103251AFDC5 for ; Thu, 15 Jun 2017 06:39:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.989 X-Spam-Level: X-Spam-Status: No, score=-0.989 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id lkUVHYIzKoGb for ; Thu, 15 Jun 2017 06:39:17 +0000 (UTC) Received: from mail.sd-datasolutions.de (serv2.sd-datasolutions.de [78.47.65.36]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1BC7B5F4A7 for ; Thu, 15 Jun 2017 06:39:17 +0000 (UTC) Received: from VEGA (p200300C103F4F601680C865641FDB88D.dip0.t-ipconnect.de [IPv6:2003:c1:3f4:f601:680c:8656:41fd:b88d]) by mail.sd-datasolutions.de (Postfix) with ESMTPSA id BD0F34800C0 for ; Thu, 15 Jun 2017 06:39:09 +0000 (UTC) X-NSA-Greeting: Dear NSA, have fun with reading and analyzing this e-mail! From: "Uwe Schindler" To: References: <1497494135068-4340644.post@n3.nabble.com> In-Reply-To: <1497494135068-4340644.post@n3.nabble.com> Subject: RE: Would docvalues be loaded into jvm? Date: Thu, 15 Jun 2017 08:39:09 +0200 Message-ID: <000001d2e5a2$180c5610$48250230$@thetaphi.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: de Thread-Index: AQFWGnifGq8mtUdeLhTCP5CrysrGYaMfDo3w archived-at: Thu, 15 Jun 2017 06:39:21 -0000 Hi It works directly off the mmapped files. It is not fully loaded into = heap, only some small control structures are allocated on heap. During = sorting the TopDocsCollector uses the memory mapped structures to = uncompress and lookup the sort values. Uwe ----- Uwe Schindler Achterdiek 19, D-28357 Bremen http://www.thetaphi.de eMail: uwe@thetaphi.de > -----Original Message----- > From: wangqinghuan [mailto:1095193290@qq.com] > Sent: Thursday, June 15, 2017 4:36 AM > To: general@lucene.apache.org > Subject: Would docvalues be loaded into jvm? >=20 > hi > I know that data is written into disk with the style of column-store = if I > enable doc-values for certain field. > But I don't understand why sorting with docvalues doesn't increase the = load > of jvm. whatever sorting algorithm , data would be loaded into jvm to = sort. > This should be a high load for jvm when I sort all index , but no = change > for jvm in fact. How does lucene sort with docvalues ? Can sort = algorithm > work directly based on the file (Mmap) ? >=20 >=20 >=20 > -- > View this message in context: = http://lucene.472066.n3.nabble.com/Would- > docvalues-be-loaded-into-jvm-tp4340644.html > Sent from the Lucene - General mailing list archive at Nabble.com.