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 F01BD10ED9 for ; Tue, 18 Mar 2014 07:44:45 +0000 (UTC) Received: (qmail 98472 invoked by uid 500); 18 Mar 2014 07:44:38 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 97922 invoked by uid 500); 18 Mar 2014 07:44:37 -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 97859 invoked by uid 99); 18 Mar 2014 07:44:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2014 07:44:35 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_FSL_HELO_BARE_IP_2 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [213.99.38.71] (HELO morse.tclt.spamina.com) (213.99.38.71) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2014 07:44:28 +0000 Received: from [194.224.226.202] (helo=10.30.169.2) by morse.tclt.spamina.com with esmtpa (Exim 4.72) (envelope-from ) id 1WPogu-0002Wr-0y for solr-user@lucene.apache.org; Tue, 18 Mar 2014 08:44:04 +0100 Received: from domprodpd.aeat ([10.30.200.148]) by 10.30.169.2 with ESMTP id 2014031808440219-312135 ; Tue, 18 Mar 2014 08:44:02 +0100 X-Envelope-From: david.davila@correo.aeat.es To: solr-user@lucene.apache.org MIME-Version: 1.0 Subject: About enableLazyFieldLoading and memory X-KeepSent: 2D64B35D:2DE6EDB0-C1257C9F:00292114; type=4; flags=0; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.3FP4 SHF39 May 13, 2013 Message-ID: From: david.davila@correo.aeat.es Date: Tue, 18 Mar 2014 08:44:02 +0100 X-MIMETrack: Serialize by Router on DOMPRODPD.AEAT/AEAT/ES at 18/03/2014 08:44:01, Serialize complete at 18/03/2014 08:44:01, Itemize by SMTP Server on CORREO2/AEAT/ES at 18/03/2014 08:44:02, Serialize by Router on CORREO2/AEAT/ES at 18/03/2014 08:44:03, Serialize complete at 18/03/2014 08:44:03 Content-Type: multipart/alternative; boundary="=_alternative 002A7BEFC1257C9F_=" X-Spamina-Bogosity: Ham X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 002A7BEFC1257C9F_= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="ISO-8859-1" Hello, we have a Solr Cloud 4.7, but this question is also related with other=20 versions, because we have tested this in several installations. We have a very big index ( more than 400K docs) with big documents, but=20 in our queries we don't fetch the large fields in fl parameter. But, we=20 have seen that memory grows when we look for big documents because of the=20 Document Cache. This only happens in some queries we have to do, with=20 maybe more than 1000 docs in the response. We have set=20 enableLazyFieldLoading to true, so, we think that Document Cache should=20 grow more or less the same with all documents because we only fetch ID=20 field. My question is: What does Solr exactly do when enableLazyFieldLoading is=20 set to true? Why does the size of the document have an influence in the=20 memory consumption? Thanks in advance, David D=E1vila Atienza AEAT - Departamento de Inform=E1tica Tributaria Subdirecci=F3n de Tecnolog=EDas de An=E1lisis de la Informaci=F3n e Investi= gaci=F3n=20 del Fraude Tel=E9fono: 917681160 Extensi=F3n: 30160 --=_alternative 002A7BEFC1257C9F_=--