Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 62488 invoked from network); 19 May 2008 18:57:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 May 2008 18:57:30 -0000 Received: (qmail 97537 invoked by uid 500); 19 May 2008 18:57:25 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 97510 invoked by uid 500); 19 May 2008 18:57:25 -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 97499 invoked by uid 99); 19 May 2008 18:57:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2008 11:57:25 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chy1013m1@hotmail.com designates 65.54.246.237 as permitted sender) Received: from [65.54.246.237] (HELO bay0-omc3-s37.bay0.hotmail.com) (65.54.246.237) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2008 18:56:28 +0000 Received: from BAY143-W34 ([65.55.154.69]) by bay0-omc3-s37.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 19 May 2008 11:56:49 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_39eb9334-23c1-42fd-ad45-b0a0a677b0fb_" X-Originating-IP: [67.55.8.11] From: Alex To: Subject: slow FieldCacheImpl.createValue Date: Mon, 19 May 2008 18:56:48 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 19 May 2008 18:56:49.0233 (UTC) FILETIME=[17C0FC10:01C8B9E2] X-Virus-Checked: Checked by ClamAV on apache.org --_39eb9334-23c1-42fd-ad45-b0a0a677b0fb_ Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 8bit hi, I have a ValueSourceQuery that makes use of a stored field. The field contains roughly 27.27 million untokenized terms. The average length of each term is 8 digits. The first search always takes around 5 minutes, and it is due to the createValue function in the FieldCacheImpl. The search is executed on a RAID5 disk array of 15k rpm. any hints as to make the fieldcache createvalue faster ? I have tried a bigger cache size for BufferedIndexReader (8kb or more) , but the time it took for createValue to execute is still in the realm of 4, 5 minutes. thanks _________________________________________________________________ 5 GB �W�j�e�q �B�зs�K���B�w�����@�U���l��M�f�r �X �ߧY�ɯ� Windows Live Hotmail http://mail.live.com --_39eb9334-23c1-42fd-ad45-b0a0a677b0fb_--