lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: will load fdx into memory make search faster?
Date Thu, 05 Aug 2010 09:43:22 GMT
This seems like a good idea.

One simple way to do it is to use FileSwitchDirectory, and host *.fdx
in RAMDirectory.  You can't use compound file format though.

Though, how many docs are you "typically" retrieving per search?

Mike

On Thu, Aug 5, 2010 at 3:37 AM, Li Li <fancyerii@gmail.com> wrote:
> hi all
>    we analyze system call of lucene and find that the fdx file is
> always read when we get field values. In my application the fdt is
> about 50GB and fdx is about 120MB. I think it may be benifit to load
> fdx into memory just like tii. Anyone else tried this ?
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message