Re: [hibernate-dev] MassIndexer have any known issues when InfinispanDirectory is used?

2011-08-31 Thread Tom Waterhouse
https://hibernate.onjira.com/browse/HSEARCH-893 On Wed, Aug 31, 2011 at 12:46 PM, Sanne Grinovero wrote: > 2011/8/31 Tom Waterhouse : > > I have a test case available. In the test case a > > org.apache.lucene.store.LockObtainFailedException instance is thrown. > > > &g

Re: [hibernate-dev] MassIndexer have any known issues when InfinispanDirectory is used?

2011-08-31 Thread Tom Waterhouse
A testcase would help; as pointed out in my previous mail I've written > one and found no issues, so please help me reproducing the issue. You > could also open an issue and attach both your Infinispan and Search > configurations. > > Regards, > Sanne > > 2011/8/29 T

Re: [hibernate-dev] MassIndexer have any known issues when InfinispanDirectory is used?

2011-08-29 Thread Tom Waterhouse
Mon, Aug 29, 2011 at 2:49 PM, Tom Waterhouse wrote: > I set a breakpoint inside of org.apache.lucene.store.Lock.obtain(long) and > noticed something peculiar - the method is called twice. The first call > succeeds, the second fails, my guess because the first call obtained the > lock.

Re: [hibernate-dev] MassIndexer have any known issues when InfinispanDirectory is used?

2011-08-29 Thread Tom Waterhouse
t Hibernate Search 4.0.0.Alpha1, intended to > support Infinispan 5.x, but I've created this test for Search 3.4 as > the backends interaction in 4.0 is very different: there are not two > competing backends anymore, but a unified access to the IndexWriter, > so to try reproduc

Re: [hibernate-dev] MassIndexer have any known issues when InfinispanDirectory is used?

2011-08-27 Thread Tom Waterhouse
dinate writes across > all nodes (searches can happen in parallel, but writes can not). > > Is it possible that another node is writing to the index, or is any > node using exclusive_index_use=true ? > > Regards, > Sanne > > 2011/8/25 Tom Waterhouse : > > I'm

[hibernate-dev] MassIndexer have any known issues when InfinispanDirectory is used?

2011-08-25 Thread Tom Waterhouse
I'm trying to setup clustering of entities and Lucene indexes for our app with Hibernate 3.6.5, Hibernate Search 3.4.0, Infinispan 5.0. I'm using FileCacheStore for the Infinispan cache loader (InfinispanDirectoryProvider). MassIndexerImpl.startAndWait() never returns with this configuration. A

Re: [hibernate-dev] Where to start with MongoDB support for OMG?

2011-06-22 Thread Tom Waterhouse
7;m on and offline in the next couple of days but at least I read my emails > and I try to be on #hibernate-dev > > Emmanuel > > On 21 juin 2011, at 18:25, Tom Waterhouse wrote: > > > If a person wanted to start down the road of adding MongoDB support for > OMG, >

[hibernate-dev] Where to start with MongoDB support for OMG?

2011-06-21 Thread Tom Waterhouse
If a person wanted to start down the road of adding MongoDB support for OMG, where would the best place to start be? Tom ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] HSEARCH-679 status

2011-04-04 Thread Tom Waterhouse
; copy. > > I'm going to try fixing the implementation tonight, do you think > you'll be able to fix the tests for no later than tomorrow afternoon > (release date!) ? > > Cheers, > Sanne > > > 2011/4/4 Tom Waterhouse : > > Sanne, > > > > I'

Re: [hibernate-dev] HSEARCH-679 status

2011-04-04 Thread Tom Waterhouse
Sanne, I've added a comment to HSEARCH-679 that includes the instructions necessary to add the attached unit test to the hibernate-search code base. Let me know if you need anything more to check in the fix for HSEARCH-679. Tom On Tue, Mar 22, 2011 at 12:17 PM, Tom Waterhouse wrote: &g

Re: [hibernate-dev] Mocking for unit tests

2011-03-29 Thread Tom Waterhouse
n all, if you need Mockito, we can add it as a test dependency. but if > we can find a way to test the problem with a functional / integration test > that would be preferable. > > Emmanuel > > On 28 mars 2011, at 21:12, Tom Waterhouse wrote: > > > I've completed a unit te

[hibernate-dev] Mocking for unit tests

2011-03-28 Thread Tom Waterhouse
I've completed a unit test for HSEARCH-679. Testing the issue was made easier using mock objects, as I needed to mock SearchFactoryImplementor and Worker to determine if indexing work was created during transaction commit. The mocking library I've used recently is Mockito, and is the library used

Re: [hibernate-dev] HSEARCH-679 status

2011-03-22 Thread Tom Waterhouse
TW I fixed the pending issue on github, as soon as you have a > testcase we can proceed with a pull request. > > Sanne > > 2011/3/22 Tom Waterhouse : > > Sanne, > > > > I don't see the method you've identified in PersistentClass.

Re: [hibernate-dev] HSEARCH-679 status

2011-03-22 Thread Tom Waterhouse
ented() returns false). Any other ideas on how I can tell if a lazy property has been initialized? Tom On Mon, Mar 21, 2011 at 4:40 PM, Sanne Grinovero wrote: > 2011/3/21 Tom Waterhouse : > > Sanne, the unit test doesn't make any assertions, so I don't know how > useful &g

Re: [hibernate-dev] HSEARCH-679 status

2011-03-21 Thread Tom Waterhouse
pendencies from Spring, and to think > on a way to have the test fail if it loads the undesired collection > without looking into the logs. > > I think you might try casting it to a > org.hibernate.mapping.PersistentClass > and then see if it ".wasInitialized()". >

[hibernate-dev] HSEARCH-679 status

2011-03-21 Thread Tom Waterhouse
I see that HSEARCH-679 is scheduled to be released in Hibernate Search 3.4.0. I haven't seen any progress on the issue though. If it will help moving the issue along I can definitely test proposed solutions, we can reproduce the issue consistently. Unfortunately we've reproduced the issue during