RE: Index maintainance

2007-02-23 Thread Chris Hostetter
: I've just been looking at IndexReader and it seems you can do it using : that, but I don't know which concrete implementation of IndexReader to : use. there is a static factory method for opening an IndexReader in the IndexReader class (you can't call the constructors directly) please go throu

RE: Index maintainance

2007-02-23 Thread Kainth, Sachin
rg Subject: Re: Index maintainance Erick Erickson wrote: > If you're using 2.1, see IndexModifier. If you're previous to 2.1, the > IndexModifier is (I think), hanging around in the contrib area. You > have to delete a document and re-add it, there's no such thing as &quo

Re: Index maintainance

2007-02-23 Thread Michael McCandless
Erick Erickson wrote: If you're using 2.1, see IndexModifier. If you're previous to 2.1, the IndexModifier is (I think), hanging around in the contrib area. You have to delete a document and re-add it, there's no such thing as "modify inplace" in lucene currently. Actually as of 2.1 you can now

Re: Index maintainance

2007-02-23 Thread Erick Erickson
Sachin <[EMAIL PROTECTED]> wrote: Hi all, Just wondering how one would perform index maintainance. I know how to add new documents: writer = new IndexWriter(IndexDirectory, new PorterAnalyzer(), false); (incidently, I wrote PorterAnalyzer myself for the PorterStemFilter since I couldn&#x

Index maintainance

2007-02-23 Thread Kainth, Sachin
Hi all, Just wondering how one would perform index maintainance. I know how to add new documents: writer = new IndexWriter(IndexDirectory, new PorterAnalyzer(), false); (incidently, I wrote PorterAnalyzer myself for the PorterStemFilter since I couldn't find an analyzer using it) But w