lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy" <>
Subject RE: Thread Contention in Lucene.Net 2.9
Date Mon, 24 Jan 2011 18:58:42 GMT
If you don't update the index, then why don't you use a single instance of
IndexSearcher throughout your app instead of reopening the IndexReader?


-----Original Message-----
From: Frank Yu [] 
Sent: Monday, January 24, 2011 7:59 PM
Subject: Thread Contention in Lucene.Net 2.9

Hi All,

I am using the Lucene.Net v2.9. Under the heavy load (search only without
any index update), there were a lot of thread contentions. Does the Lucene
use the locks even for the read-only search? Any suggestion for which
resource caused the thread contentions?

Thanks a lot,



View raw message