Hi,
yes, thanks. I removed flag and built NH.Search against current
NHibernate trunk.
Does anyone have experience with this ?
Here's the exception/stacktrace when I try to build session factory
with nh trunk+nh.search trunk:
NHibernate.Util.ADOExceptionReporter: 18:31:36,204 ERROR
ADOExceptionReporter:0 - Method not found: 'System.Object
NHibernate.Proxy.Poco.BasicLazyInitializer.Invoke(System.Reflection.MethodBase,
System.Object[], System.Object)'.
at NHibernate.Loader.Loader.DoList(ISessionImplementor session,
QueryParameters queryParameters)
at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor
session, QueryParameters queryParameters)
at NHibernate.Loader.Loader.List(ISessionImplementor session,
QueryParameters queryParameters, ISet`1 querySpaces, IType[]
resultTypes)
at NHibernate.Loader.Criteria.CriteriaLoader.List(ISessionImplementor
session)
at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results)
at NHibernate.Impl.CriteriaImpl.List(IList results)
at NHibernate.Impl.CriteriaImpl.List[T]()
at Winbooks.DAL.DALContext.set_GlobalFolder(Folder value) in
c:\work\MBACZ\SVN\omdal2\src\Winbooks.DAL.Core\DALContext.cs:line 304
conf. properties:
props.Add("proxyfactory.factory_class",
"NHibernate.ByteCode.Castle.ProxyFactoryFactory,
NHibernate.ByteCode.Castle");
props.Add("hibernate.search.default.indexBase", "nh_index");
props.Add("hibernate.search.default.indexBase.create", "true");
props.Add("hibernate.search.default.directory_provider",
typeof(FSDirectoryProvider).AssemblyQualifiedName);
props.Add(NHibernate.Search.Environment.AnalyzerClass,
typeof(StopAnalyzer).AssemblyQualifiedName);
Is NH.Search with NHib 2.1 not supported yet, or am I missing something ?
Thanks
2009/1/28 paulh <[email protected]>:
> You need to make sure that you don't have the NHIBERNATE_20 flag set in your
> project - I believe the difference related to LockModes
>
> Paul
>
> ________________________________
> From: JozefSevcik <[email protected]>
> Sent: 28 January 2009 14:31
> To: NHibernate Contrib - Development Group <[email protected]>
> Subject: Re: Working on NHibernate.Search
>
>
> Hi all,
> I know there is some work on NH.Search in progress,
> I'm just trying to build latest revision r720 and it's complaining
> about wrong FullTextSessionImpl impementation.
> What's the latest working revision I can build against NHib trunk ?
>
> Thank you !
>
> Jozef
>
> On 27 Led, 16:47, "paulh" wrote:
>> Ah, I tried to run all - I'll put the change in tonight.
>>
>> Paul
>>
>> ----------------------------------------
>>
>> From: Pierre Henri Kuate
>> Sent: 27 January 2009 09:42
>> To: NHibernate Contrib - Development Group
>> Subject: Re: Working on NHibernate.Search
>>
>> @Paul: About SyncWorkerTest and OptimizerTest not working, did you try
>> to run them one at a time? On my machine they do pass with NHibernate
>> 2.0.
>>
>> Note that the trick to get them to work when running all is to have
>> them use different IndexDir. I had a conditional directive for that
>> before, but I removed it in rev 717 after properly implementing the
>> close methods... You can put it back if you want.
>>
>> This also apply to the Reader & Worker tests.
>> >
>
--
S pozdravom / Best regards,
Jozef Ševčík
[email protected]
+420 608 782 813
+420 222 364 769
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"NHibernate Contrib - Development Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com.ar/group/nhcdevs?hl=en
-~----------~----~----~----~------~----~------~--~---