Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9758ADEA0 for ; Tue, 18 Sep 2012 13:08:27 +0000 (UTC) Received: (qmail 26006 invoked by uid 500); 18 Sep 2012 13:08:25 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 25601 invoked by uid 500); 18 Sep 2012 13:08:22 -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 25531 invoked by uid 99); 18 Sep 2012 13:08:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 13:08:19 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of karsten-solr@gmx.de designates 213.165.64.22 as permitted sender) Received: from [213.165.64.22] (HELO mailout-de.gmx.net) (213.165.64.22) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 18 Sep 2012 13:08:14 +0000 Received: (qmail 3851 invoked by uid 0); 18 Sep 2012 13:07:51 -0000 Received: from 195.74.94.50 by www028.gmx.net with HTTP; Tue, 18 Sep 2012 15:07:50 +0200 (CEST) Content-Type: text/plain; charset="utf-8" Date: Tue, 18 Sep 2012 15:07:50 +0200 From: karsten-solr@gmx.de In-Reply-To: Message-ID: <20120918130750.209540@gmx.net> MIME-Version: 1.0 References: Subject: Re: how to disable the field cache To: java-user@lucene.apache.org X-Authenticated: #4076202 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1/uZUN9vcTuJdv6wOjEnLVk/ZzU9UkCqjBos7K1s6 NJcoNyB1MFKWlHQ7IK5T6wXH1+DsZlKuBP7Q== Content-Transfer-Encoding: 8bit X-GMX-UID: cRcqcL4weSEqQctRVXQh+xF+IGRvbwD2 X-Virus-Checked: Checked by ClamAV on apache.org Hi 惠达 王, if you do not sort (by field values) and do not use faceted search or joins the field cache will not be used. If you want to go sure: Write a MockFieldCache and call FieldCache.DEFAULT = new MockFieldCache(); Best regards Karsten btw. the are other objects in the main-memory like doc frequency in context: http://lucene.472066.n3.nabble.com/how-to-disable-the-field-cache-td4007384.html -------- Original-Nachricht -------- > Datum: Thu, 13 Sep 2012 15:34:08 +0800 > Von: "惠达 王" > An: java-user@lucene.apache.org > Betreff: how to disable the field cache > Hi all > > how to disable the field cache? > > > 王惠达 (PHP开发工程师, Sysdev Team) > ------------------------- > 分机:8836 > QQ:429335915 > mobile: 13795449454 > E-mail: williamwang@anjuke.com > 上海市浦东新区陆家嘴环路166号未来资产大厦10楼 > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org