Can you show the full stack trace?
On Fri, Apr 17, 2009 at 7:07 PM, [email protected] <
[email protected]> wrote:
>
> I have been trying to integrate NHibernate.Search into one of our
> systems and have been trying to create an index over what is already
> there. In a test system with a small amount of documents I have been
> running the following...
>
> IFullTextSession fullTextSession =
> NHibernate.Search.Search.CreateFullTextSession(Session);
>
> ICriteria c = fullTextSession.CreateCriteria(typeof
> (Document));
>
> IList<Document> list = c.List<Document>();
>
> foreach (var document in list)
> {
> fullTextSession.Index(document);
> }
>
> The Index method throws an error. I have managed to trace this back to
> the SearchFactory property of the FullTextIndexEventListener being
> null.
>
> Does anyone have any pointers as to what might be causing this?
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---