Hi All, My thread contention problem got resolved now. It was due to the .Net garbage collector that was single threaded. Nothing wrong was wrong with the Lucene.
Thanks, Frank Yu -----Original Message----- From: Digy [mailto:[email protected]] Sent: Monday, January 24, 2011 11:59 AM To: [email protected] Subject: RE: Thread Contention in Lucene.Net 2.9 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
