Merging Indeces

2007-04-16 Thread Moti Nisenson
Hi, I was wondering if the addIndexes() method in IndexWriter can be used for updating documents. Specifically, I'd like to leave my primary index alone during the update process. Instead, I want to use a separate index (on a RAMDirectory), and to make the updateDocument() calls on it and finall

Re: Merging Indeces

2007-04-16 Thread Erick Erickson
See below. On 4/16/07, Moti Nisenson <[EMAIL PROTECTED]> wrote: Hi, I was wondering if the addIndexes() method in IndexWriter can be used for updating documents. Specifically, I'd like to leave my primary index alone during the update process. Instead, I want to use a separate index (on a RAM

Re: Merging Indeces

2007-04-16 Thread Lukas Vlcek
Hi, try to look at Compass (http://www.opensymphony.com/compass/). It is built on top of Lucene but provides additional concepts (transactions is one of them). You might find this useful depending on your needs. Regards, Lukas On 4/16/07, Erick Erickson <[EMAIL PROTECTED]> wrote: See below.

Re: Merging Indeces

2007-04-21 Thread Erick Erickson
Take a look at the source in IndexHTML.java (C:\lucene- 2.1.0\src\demo\org\apache\lucene\demo on my machine). The code goes through quite a bit of effort to remove old documents identified by uid. My comment was really that the underlying engine doesn't recognize duplicates, any such requirements

Re: Merging Indeces

2007-04-21 Thread jim shirreffs
OK I get it, thanks for the info, just told my boss the opposite, guess I will have to send another email. thanks again jim s - Original Message - From: "Erick Erickson" <[EMAIL PROTECTED]> To: Sent: Saturday, April 21, 2007 8:32 AM Subject: Re: Merging Indeces