lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karsten-s...@gmx.de
Subject Re: how to disable the field cache
Date Tue, 18 Sep 2012 13:07:50 GMT
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: "惠达 王" <wanghuida258@yahoo.cn>
> 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


Mime
View raw message