Re: Multiple threads updating/reading the same index in an ASP.NET website.

2008-10-13 Thread Andrew Rimmer
It is usually best to cache the IndexSearcher across requests. If you have to keep re-opening an IndexSearcher for each search you lose out on any caching that Lucene can do. I usually just put it in the cache for x minutes. The IndexWriter works great with multiple threads. I usually have one Ind

Re: Multiple threads updating/reading the same index in an ASP.NET website.

2008-10-13 Thread Michael Neel
updating threads. Trying >> to >> > open the same index twice will throw exception. It is also recommended to >> > share a single IndexSearcher across threads for better performance. >> > >> > DIGY >> > >> > -----Original Message- &

Re: Multiple threads updating/reading the same index in an ASP.NET website.

2008-10-13 Thread Doug Sale
earcher across threads for better performance. > > > > DIGY > > > > -Original Message- > > From: Corey Trager [mailto:[EMAIL PROTECTED] > > Sent: Saturday, October 11, 2008 7:36 PM > > To: lucene-net-user@incubator.apache.org > > Subject:

RE: Multiple threads updating/reading the same index in an ASP.NET website. - IndexModifier

2008-10-12 Thread Digy
ne-net-user@incubator.apache.org > Subject: RE: Multiple threads updating/reading the same index in an ASP.NET > website. - IndexModifier > > Digg - thanks. I originally wrote this at StackOverflow.com. Do you think I > understand things > now, based on what I wrote here: > &

RE: Multiple threads updating/reading the same index in an ASP.NET website. - IndexModifier

2008-10-12 Thread Corey Trager
ll, and leave it always open? > > > > Again for 2.3.1, IndexSearcher will not "see" the updates made by > > IndexWriter unless you reopen it. > > > > DIGY > > > > > > -Original Message- > > From: Corey Trager [mailto:[EM

RE: Multiple threads updating/reading the same index in an ASP.NET website. - IndexModifier

2008-10-12 Thread Digy
.org Subject: RE: Multiple threads updating/reading the same index in an ASP.NET website. - IndexModifier Digg - thanks. I originally wrote this at StackOverflow.com. Do you think I understand things now, based on what I wrote here: "After reading docs and experimentation, this is what I t

RE: Multiple threads updating/reading the same index in an ASP.NET website. - IndexModifier

2008-10-11 Thread Corey Trager
3.1, IndexSearcher will not "see" the updates made by > IndexWriter unless you reopen it. > > DIGY > > > -Original Message----- > From: Corey Trager [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 12, 2008 12:52 AM > To: lucene-net-user@incubator.apache.or

RE: Multiple threads updating/reading the same index in an ASP.NET website. - IndexModifier

2008-10-11 Thread Digy
made by IndexWriter unless you reopen it. DIGY -Original Message- From: Corey Trager [mailto:[EMAIL PROTECTED] Sent: Sunday, October 12, 2008 12:52 AM To: lucene-net-user@incubator.apache.org Subject: RE: Multiple threads updating/reading the same index in an ASP.NET website. - IndexM

RE: Multiple threads updating/reading the same index in an ASP.NET website. - IndexModifier

2008-10-11 Thread Corey Trager
iginal Message- > From: Corey Trager [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 11, 2008 7:36 PM > To: lucene-net-user@incubator.apache.org > Subject: Multiple threads updating/reading the same index in an ASP.NET > website. > > Does Lucene.Net have built into it logi

RE: Multiple threads updating/reading the same index in an ASP.NET website.

2008-10-11 Thread Corey Trager
> > DIGY > > -Original Message- > From: Corey Trager [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 11, 2008 7:36 PM > To: lucene-net-user@incubator.apache.org > Subject: Multiple threads updating/reading the same index in an ASP.NET > website. > &

RE: Multiple threads updating/reading the same index in an ASP.NET website.

2008-10-11 Thread Digy
share a single IndexSearcher across threads for better performance. DIGY -Original Message- From: Corey Trager [mailto:[EMAIL PROTECTED] Sent: Saturday, October 11, 2008 7:36 PM To: lucene-net-user@incubator.apache.org Subject: Multiple threads updating/reading the same index in an

Multiple threads updating/reading the same index in an ASP.NET website.

2008-10-11 Thread Corey Trager
Does Lucene.Net have built into it logic for managing concurrency, multiple threads? If a request comes to my website that triggers a thread to update the index, and another request comes on another thread that also triggers a request to update, or even read, the index, does Lucene handle the