Re: [hibernate-dev] Similarity approach in Hibernate Search

2009-05-07 Thread Emmanuel Bernard
On May 7, 2009, at 18:38, Sanne Grinovero wrote: Each time a new Document is added to the index, the similarity relevant to that entity is looked up from the pertaining documentBuilder and set to the indexwriter: AddWorkDelegate: Similarity similarity = documentBuilder.getSimilarity(); write

Re: [hibernate-dev] Re: Antlr3 / JDK 1.5

2009-05-07 Thread Max Rydahl Andersen
Did you see my question/objections/inquiry this time ? :) /max Max Rydahl Andersen wrote: Hi Steve, I asked: Is antrl3 capable to coexist with antrl2 in the same classloader/app/vm ? p.s. your email st...@redhat.com bounces with errors. /max Steve Ebersole wrote: OK, my email (hibernate.

[hibernate-dev] Move to JPA 2 dependency

2009-05-07 Thread Emmanuel Bernard
I took a big bet before my vacations, I've migrated Hibernate to JPA 2.0 Beta1 I had to adjust: - annotations - entitymanager - jbosscache2(*) - envers(*) (*) these were more affected than expected due to http://opensource.atlassian.com/projects/hibernate/browse/ANN-831 Hardy, can you look

[hibernate-dev] Similarity approach in Hibernate Search

2009-05-07 Thread Sanne Grinovero
Each time a new Document is added to the index, the similarity relevant to that entity is looked up from the pertaining documentBuilder and set to the indexwriter: AddWorkDelegate: Similarity similarity = documentBuilder.getSimilarity(); writer.setSimilarity( similarity ); writer.addDocument( wor

Re: [hibernate-dev] Hibernate Search and massive indexing

2009-05-07 Thread Emmanuel Bernard
On May 7, 2009, at 17:50, Sanne Grinovero wrote: I'd like to stress that the second mode (adaptative) is not contrained into the BackendQueueProcessorFactory interface as it is not created by the usual BatchedQueueingProcessor but by a new kind of Worker. So we can apply some more pipelining o

Re: [hibernate-dev] Hibernate Search and massive indexing

2009-05-07 Thread Sanne Grinovero
I'd like to stress that the second mode (adaptative) is not contrained into the BackendQueueProcessorFactory interface as it is not created by the usual BatchedQueueingProcessor but by a new kind of Worker. So we can apply some more pipelining optimizations. About 5) the API is not going to be thr

[hibernate-dev] Hibernate Search and massive indexing

2009-05-07 Thread Emmanuel Bernard
I have synced with Sanne on his work on massive reindexing and here is the outcome of the discussion. 1. An exclusive batch mode is a mode where a node has exclusive access to the index and can optimize writings (not flushing, not committing at specific times etc). 2. The node able to act

Re: [hibernate-dev] Hibernate Core 3.5 and Bean Validation integrated

2009-05-07 Thread Steve Ebersole
This is already set up in core if you wanted to take a look-see. Basically you need to have a section in your pom (specifically the nested element. If you use the core parent pom this is already there for you: http://fisheye.jboss.org/browse/Hibernate/core/branches/Branch_3_3/parent/pom.xml?r=1

Re: [hibernate-dev] Hibernate Core 3.5 and Bean Validation integrated

2009-05-07 Thread Emmanuel Bernard
It has a couple of SNAPSHOT external deps validation-api that is and then hibernate-validator How can we say hudson to go dl the source and build it in it's local maven cache? Otherwise, there is probably a way to publish official snapshots but I don't know how to do that. On May 7, 20

Re: [hibernate-dev] Hibernate Core 3.5 and Bean Validation integrated

2009-05-07 Thread Juraci Paixao Krohling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It seems it needs something else (maybe a pom.xml extra spice?). The build is breaking due to compilation failure: http://hudson.qa.jboss.com/hudson/job/hibernate-all-trunk/ annotations/src/main/java/org/hibernate/cfg/beanvalidation/BeanValidationEve