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?

DIGY

-----Original Message-----
From: Frank Yu [mailto:[email protected]] 
Sent: Monday, January 24, 2011 7:59 PM
To: [email protected]
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,

Frank 

      


Reply via email to