[CPS4] lucene transactions

Julien Anguenot ja at nuxeo.com
Tue Apr 18 11:00:02 CEST 2006


Florent Guillaume wrote:
>> But anyway, we also can run the indexing just after the transaction is
>> done (as we do now with postCommitHook). Can't we?
> 
> Yes but really that's a hack. 

If you got a better solution for supporting this with ZODB transactions,
please go ahead.

> It makes things more complex to manage,

Could you expand a bit here ?

> and it means we can't have an indexing and a search in the same
> transaction (as data isn't indexed yet).

It could be possible pretty easily. I actually almost support this on
nuxeo.lucene.catalog.

> Also it means the indexer
> cannot abort a transaction for any reason whatsoever. Today I can't see
> a reason why it would, but I'd rather have to possibility (for instance
> you try to index an integer field but you actually provide a string --
> whatever).

YAGNI !

indexation aught to be async anyway (in most of the cases.)

> If we want all our components to play well together, they need to be all
> XA-capable.

fair enough. It will be.

	J.



-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : /pipermail/cps4/attachments/20060418/19a6777d/signature.pgp


More information about the CPS4 mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider

About

This page is a mailing archive for one of the Nuxeo projects.

Project News

[2008/11/18] Nuxeo 5.2.M3 and Nuxeo WebEngine 1.0.RC released![2008/11/13] First Nuxeo Developer Day (1st Dec. 2008) - Still a few seats available[2008/11/13] First Nuxeo Survey[2008/10/08] Nuxeo 5.1.6 Released

Corporate News

[2008/11/20] Nuxeo secures 2 million Euros and strengthens its board of directors and corporate governance[2008/11/17] Nuxeo joins OASIS[2008/10/23] IFRA Expo 2008 Amsterdam, October 27th to 30th, Booth 9363, Hall 9[2008/10/08] Nuxeo announces the appointment of Carina Rimoli as Indirect Sales Manager