I\'m using Fluent NHibernate and I would like to implement NHibernate.Search with Lucene but I can\'t find any examples on how to do that with Fluent NHibernate. It appears ther
I'm working on a Fluent API for Lucene which removes the need for attributes and integrated nicely with FNH
Its still very pre-alpha, contributions welcome!
If you're using the Fluent Configuration API, then you just need to use the ExposeConfiguration
method to get at the NHibernate Configuration instance.
Fluently.Configure()
.Database(...)
.Mappings(...)
.ExposeConfiguration(cfg =>
{
cfg.SetListener(...);
cfg.SetListener(...);
})
.BuildSessionFactory();