fullTextSession does not have Optimize . Will dig into the code and find out.
With regards Cherian Thomas, Mobile: +919886782481 On Mon, Mar 23, 2009 at 8:20 PM, Ayende Rahien <[email protected]> wrote: > fullTextSession.Optimize(), IIRC. > I am not sure that I understand what you mean, though > > > On Mon, Mar 23, 2009 at 10:43 AM, Cherian <[email protected]> wrote: > >> >> How do I write units test for Nhibernate Search? >> I understand that the entries inserted into the index get removed when >> the persistent object is removed. But isn’t it a soft delete on the >> index? If I am not wrong, an optimize call to Lucene removes it from >> index. >> How do I do this from Nhibernate Search (for my TearDown)? Better put, >> how do I maintain state? >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
