lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 王建新 <lieut...@gmail.com>
Subject Re: How to use lucene for high search performance ?
Date Thu, 24 Jul 2008 10:36:23 GMT
Thank you.

If the index files are very big(10G), I cannot load them to ram in one process.

Shoud I use MutilSearcher to load index files with serval processes?
How about its performance?

by the way, I think only .frq and .tis files need to load in ram.
And it can save some ram.

roy

----- Original Message ----- 
From: "Michael McCandless" <lucene@mikemccandless.com>
To: <general@lucene.apache.org>
Sent: Thursday, July 24, 2008 6:09 PM
Subject: Re: How to use lucene for high search performance ?



Try InstantiatedIndexWriter/Reader (under contrib/instantiated)?

It consumes more RAM than the RAMDirectory approach, but is faster  
performance.

Mike

PS -- this sort of question should go to java-user in the future.

王建新 wrote:

>
> Hi,
>    If I use lucene to execute many search requests at one time, the  
> io operation will be the bottleneck of the performance.
>    So I use RAMDirectory to avoid io operation.
>    But I found RAMDirectory cannot raise the performance much if the  
> index is big( about 1.2G).
>    Could anyone give me any advice to raise the performance for  
> concurrent search operation?
>    Thanks.
>
> roy
Mime
View raw message