Hi, I'm trying to manually index an entity, that is, not on the PostInsert, PostDelete and PostUpdate events. I have this code, which isn't doing anything:
SearchFactoryImpl searchFactory = SearchFactoryImpl.GetSearchFactory (cfg); Work work = new Work(entity, entity.Id, WorkType.Add); //also tried with WorkType.Index, WorkType.Update, ... searchFactory.Worker.PerformWork(work, session.GetSessionImplementation ()); searchFactory.Close(); What else is needed? Thanks, RP --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" 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/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
