We implement multiple indexes (one per subject area for our business) and each has its own writer, then an IndexSearcher that takes a MultiReader. Works well.
-----Original Message----- From: Koga, Diego [mailto:[email protected]] Sent: Friday, February 19, 2016 11:08 AM To: [email protected] Cc: [email protected] Subject: Re: Multiple writers Justin, I am thinking to implement multiple indexes so that I can have multiple writers (but not at the same index). Maybe this could work for you too. Att., ------------------ Koga, Diego On Fri, Feb 19, 2016 at 1:56 PM, Todd Carrico <[email protected]> wrote: > It is clear, one indexwriter, multiple readers. > > tc > > > On Feb 19, 2016, at 9:36 AM, Justin Overton > > <[email protected]> > wrote: > > > > I'm using Lucene Net 3.0.3. It is unclear to me whether or not > > multiple IndexWriter's can exist for the same index without trashing > > it. I'm > working > > on a web application, and I know IndexWriter is thread safe, but I'm > > wondering if there's a way to isolate Commit and Rollback > > functionality > to > > specific threads without having to block all other requests via > > external locking. > > > > -- > > Justin Overton >
