Could you suggest the code for a "mock field cache"? I mean, what would an anonymous instance look like.

-- Jack Krupansky

-----Original Message----- From: [email protected]
Sent: Tuesday, September 18, 2012 9:07 AM
To: [email protected]
Subject: Re: how to disable the field cache

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: "惠达 王" <[email protected]>
An: [email protected]
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: [email protected]
上海市浦东新区陆家嘴环路166号未来资产大厦10楼



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to