: 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
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
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
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
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