lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Rhodes <spamsu...@rhoderunner.com>
Subject Re: Increase performance using Pool of IndexSearchers?
Date Thu, 08 Feb 2007 16:16:01 GMT
Mohammad,
According to the responses on this thread, there appears to be no 
performance benefit to using multiple instances of IndexSearcher

Unless I hear otherwise, there is no point in creating such a pool.
Phillip

Mohammad Norouzi wrote:

> Hi
> would you tell how we can create a searcher pool. I get interested in 
> your
> idea.
>
> thanks
>
> On 2/7/07, spamsucks <spamsucks@rhoderunner.com> wrote:
>
>>
>> I currently am sharing my IndexSearcher across multiple requests as a
>> static
>> object.
>>
>> While I understand that the IndexSearcher is threadsafe, this does not
>> necessarily mean that it's multi-threaded capable.  I was wondering if
>> there
>> is any thread blocking going on between requests?
>>
>> Would it improve performance to create a pool of IndexSearchers?
>>
>> Thanks!
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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