Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 42093 invoked from network); 1 May 2010 03:18:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 May 2010 03:18:44 -0000 Received: (qmail 54407 invoked by uid 500); 1 May 2010 03:18:42 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 54214 invoked by uid 500); 1 May 2010 03:18:42 -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 54206 invoked by uid 99); 1 May 2010 03:18:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 May 2010 03:18:41 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,T_FRT_ADULT2 X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of koji@r.email.ne.jp designates 202.224.39.198 as permitted sender) Received: from [202.224.39.198] (HELO mail2.asahi-net.or.jp) (202.224.39.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 May 2010 03:18:33 +0000 Received: from koji-sekiguchi-no-macbook.local (w244069.ppp.asahi-net.or.jp [121.1.244.69]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 8C796A05C3 for ; Sat, 1 May 2010 12:18:11 +0900 (JST) Message-ID: <4BDB9D73.90902@r.email.ne.jp> Date: Sat, 01 May 2010 12:18:11 +0900 From: Koji Sekiguchi User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: FieldCache memory estimation - term values are interned? Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, Are Strings that are got via FieldCache.DEFAULT.getStrings( reader, field ) interned? Since I have a requirement for having FieldCaches of some fields in 250M docs index, I'd like to estimate memory consumed by FieldCache. By looking at FieldCacheImpl source code, it seems that field names are interned, but values are not? Than you, Koji -- http://www.rondhuit.com/en/ --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org