RE: IndexWriter Question

2010-06-28 Thread Ben West
writer, then I wouldn't need to pay this penalty. It's not a huge deal since I can just run a warm up query, but I figured if I can do it in a few lines of code, then I might as well. Thanks, -Ben --- On Fri, 6/25/10, Digy wrote: > From: Digy > Subject: RE: IndexWriter Quest

RE: IndexWriter Question

2010-06-25 Thread Digy
urrent()) indexReader.Reopen(); DIGY -Original Message- From: Ben West [mailto:[email protected]] Sent: Friday, June 25, 2010 10:13 PM To: [email protected] Subject: RE: IndexWriter Question I have multiple servers looking at the same index location (on a distributed FS)

RE: IndexWriter Question

2010-06-25 Thread Ben West
.) --- On Fri, 6/25/10, Digy wrote: > From: Digy > Subject: RE: IndexWriter Question > To: [email protected] > Date: Friday, June 25, 2010, 2:05 PM > Have you tried NRT search? > > > > Use a singleton IndexWriter for all your adds/deletes, and > cre

RE: IndexWriter Question

2010-06-25 Thread Digy
[email protected]] Sent: Friday, June 25, 2010 9:42 PM To: [email protected] Subject: RE: IndexWriter Question Sorry, I meant to say I'm using IndexWriter. The subject line was correct, not the body :) --- On Fri, 6/25/10, Digy wrote: > From: Digy >

RE: IndexWriter Question

2010-06-25 Thread Ben West
Sorry, I meant to say I'm using IndexWriter. The subject line was correct, not the body :) --- On Fri, 6/25/10, Digy wrote: > From: Digy > Subject: RE: IndexWriter Question > To: [email protected] > Date: Friday, June 25, 2010, 1:37 PM > Why do you use

RE: IndexWriter Question

2010-06-25 Thread Digy
Why do you use IndexModifier? It is deprecated and has a terrible performance. DIGY -Original Message- From: Ben West [mailto:[email protected]] Sent: Friday, June 25, 2010 7:08 PM To: [email protected] Subject: IndexWriter Question Hey all, I have an

IndexWriter Question

2010-06-25 Thread Ben West
Hey all, I have an IndexModifier and an IndexSearcher. I have something like the following: // Do IndexModifier stuff searcher.ReOpen(modifier.Reader); modifier.Dispose(); searcher.GetReader().IsCurrent(); The last line fails with a null reference exception at Lucene.Net.Index.IndexWriter.Nr