Hi!
I've been messing around with NHibernate.Search.
So I couldn't save an entity because I'm getting a NullReferenceException in the SearchInterceptor, on the PostFlush method. When debugging I saw that the session is null in there.
I'm doing to following in order to add the interceptor to the session factory:
ISessionFactory sessionFactory =
new Configuration().Configure().SetInterceptor(new SearchInterceptor()).BuildSessionFactory();
I'm not sure if it's the way we're supposed to use it.
Thanks!!
Jonathan