You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Peter Gelderbloem <Pe...@mediasurface.com> on 2005/04/21 15:43:14 UTC

Lucene and J2EE transactions

Hi,
I am looking to get Lucene to participate in a JTA transaction.
What would be the best way to do this?
I am thinking maybe use a message queue that feeds an indexing
thread/message driven bean with add update and delete information.
Or maybe using a subclass of Directory that uses a relational database.
Regards
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: Lucene and J2EE transactions

Posted by "Joseph B. Ottinger" <jo...@enigmastation.com>.
Well, LuceneRAR isn't transactional - yet. As soon as I figure out how to 
queue deletes, though... :)

On Thu, 21 Apr 2005, Erik Hatcher wrote:

>
> On Apr 21, 2005, at 9:43 AM, Peter Gelderbloem wrote:
>> Hi,
>> I am looking to get Lucene to participate in a JTA transaction.
>> What would be the best way to do this?
>
> Have a look at LuceneRAR:  https://lucenerar.dev.java.net/
>
> I have no experience with it, but it fits what you're looking for.
>
>> I am thinking maybe use a message queue that feeds an indexing
>> thread/message driven bean with add update and delete information.
>> Or maybe using a subclass of Directory that uses a relational database.
>
> Or perhaps consider using the Berkeley DBDirectory (found in the contrib area 
> of the Lucene Subversion repository).
>
> 	Erik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

-----------------------------------------------------------------------
Joseph B. Ottinger                             http://enigmastation.com
Editor, http://www.TheServerSide.com             joeo@enigmastation.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: Lucene and J2EE transactions

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Apr 21, 2005, at 9:43 AM, Peter Gelderbloem wrote:
> Hi,
> I am looking to get Lucene to participate in a JTA transaction.
> What would be the best way to do this?

Have a look at LuceneRAR:  https://lucenerar.dev.java.net/

I have no experience with it, but it fits what you're looking for.

> I am thinking maybe use a message queue that feeds an indexing
> thread/message driven bean with add update and delete information.
> Or maybe using a subclass of Directory that uses a relational database.

Or perhaps consider using the Berkeley DBDirectory (found in the 
contrib area of the Lucene Subversion repository).

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org