Re: [hibernate-dev] OGM: unimplemented InfinispanDialect.updateTuple() ?

2011-08-12 Thread Sanne Grinovero
2011/8/12 Cyrille Chépélov : > Le vendredi 12 août 2011 à 15:18 +0100, Sanne Grinovero a écrit : > > Hi Cyrille, > 5.0.0.FINAL was just released last week, and unfortunately introduced > a last minute API change which broke compatibility with OGM/Alpha2. > OGM master works fine now as it was a triv

Re: [hibernate-dev] OGM: unimplemented InfinispanDialect.updateTuple() ?

2011-08-12 Thread Cyrille Chépélov
Le vendredi 12 août 2011 à 15:18 +0100, Sanne Grinovero a écrit : > Hi Cyrille, > 5.0.0.FINAL was just released last week, and unfortunately introduced > a last minute API change which broke compatibility with OGM/Alpha2. > OGM master works fine now as it was a trivial fix, and I've deployed > an

Re: [hibernate-dev] OGM: unimplemented InfinispanDialect.updateTuple() ?

2011-08-12 Thread Sanne Grinovero
Hi Cyrille, 5.0.0.FINAL was just released last week, and unfortunately introduced a last minute API change which broke compatibility with OGM/Alpha2. OGM master works fine now as it was a trivial fix, and I've deployed an updated SNAPSHOT version, please try that one! Not sure why it looked like t

[hibernate-dev] OGM: unimplemented InfinispanDialect.updateTuple() ?

2011-08-12 Thread Cyrille Chépélov
Greetings, I'm attempting to use Hibernate OGM with the Infinispan backend, using a single FileCacheStore. I find the technology quite promising, and would love to get this to run. I'm running under Jetty, with the JbossTS. I'm attempting something fairly simple so far: DataGate.getTM()

Re: [hibernate-dev] [HSEARCH-670] Add indexNullAs to @IndexedEmbedded

2011-08-12 Thread Davide D'Alto
Maybe we can add an option like "boolean emptyAsNull" to IndexEmbedded. On Fri, Aug 12, 2011 at 12:31 PM, Davide D'Alto wrote: > I've first written a simple test and then I chose the parameters > accordingly so that the test can pass. > Before investingate further I wanted to ask if there are alr

Re: [hibernate-dev] [HSEARCH-670] Add indexNullAs to @IndexedEmbedded

2011-08-12 Thread Davide D'Alto
I've first written a simple test and then I chose the parameters accordingly so that the test can pass. Before investingate further I wanted to ask if there are already some defaults to use in this case. An empty collection is not a null so my patch shouldn't change the existing behaviour. I need

Re: [hibernate-dev] [HSEARCH-670] Add indexNullAs to @IndexedEmbedded

2011-08-12 Thread Sanne Grinovero
Hi Davide, as Index option I would use Index.NOT_ANALYZED_NO_NORMS; ANALYZED is not a proper fit as it might break the marker token in pieces and get some unpredictable behaviour. About Store .. do you need to store it? I assume you do to mark the difference between a null collection and an empty

[hibernate-dev] [HSEARCH-670] Add indexNullAs to @IndexedEmbedded

2011-08-12 Thread Davide D'Alto
Hello, I've created a prototype for HSEARCH-670: https://github.com/DavideD/hibernate-search/commits/HSEARCH-670 It seems to work but I'm not sure about the options to use indexing the null value. At the moment it uses the following LucenOption object: LuceneOptions options = new LuceneOptionsImp

Re: [hibernate-dev] Catering for a new index + writer/reader

2011-08-12 Thread Hardy Ferentschik
On Fri, 12 Aug 2011 00:02:09 +0200, Sanne Grinovero wrote: > I just read the document (nice doc! where did you find it?) It was attached to the original Lucene issue related to faceting. > The commit requirements of this taxonomy index look like a mess, and > it also concerns me that it's to