You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Wenbo Zhao <wb...@travelsky.com> on 2009/11/15 15:02:23 UTC
How to limit fields being loaded into the FieldCache ?
Hi all,
In 'Lucene in Action', I read "Limit how many fields you directly load
into the FieldCache" to reduce RAM usage during searching.
But I can't find how. In javadoc, I can't find any note about how
FieldCache is used in IndexReader or IndexSearcher.
Can somebody teach me that ?
Thanks .
--
Best Regards,
ZHAO, Wenbo
=======================
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: How to limit fields being loaded into the FieldCache ?
Posted by Michael McCandless <lu...@mikemccandless.com>.
Sounds like you need a better search engine ;)
Mike
On Sun, Nov 15, 2009 at 10:21 PM, Wenbo Zhao <zh...@gmail.com> wrote:
> Sorry, all folks, please ignore this thread.
> I found the section in doc, just start to read that.
> I just used wrong term to search before :-)
> I searched for 'FieldCache' but in the book it's 'Field cache'
> Anyway just ignore this.
>
> 2009/11/15 Wenbo Zhao <wb...@travelsky.com>:
>> Hi all,
>> In 'Lucene in Action', I read "Limit how many fields you directly load
>> into the FieldCache" to reduce RAM usage during searching.
>> But I can't find how. In javadoc, I can't find any note about how
>> FieldCache is used in IndexReader or IndexSearcher.
>> Can somebody teach me that ?
>> Thanks .
>>
>> --
>>
>> Best Regards,
>> ZHAO, Wenbo
>>
>> =======================
>>
>
>
>
> --
>
> Best Regards,
> ZHAO, Wenbo
>
> =======================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: How to limit fields being loaded into the FieldCache ?
Posted by Wenbo Zhao <zh...@gmail.com>.
Sorry, all folks, please ignore this thread.
I found the section in doc, just start to read that.
I just used wrong term to search before :-)
I searched for 'FieldCache' but in the book it's 'Field cache'
Anyway just ignore this.
2009/11/15 Wenbo Zhao <wb...@travelsky.com>:
> Hi all,
> In 'Lucene in Action', I read "Limit how many fields you directly load
> into the FieldCache" to reduce RAM usage during searching.
> But I can't find how. In javadoc, I can't find any note about how
> FieldCache is used in IndexReader or IndexSearcher.
> Can somebody teach me that ?
> Thanks .
>
> --
>
> Best Regards,
> ZHAO, Wenbo
>
> =======================
>
--
Best Regards,
ZHAO, Wenbo
=======================
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org