This is a bug, I need to find the time to return to the port of the latest
Hib Search, at which time I'll also deal with this.
In the meantime, please create a test case for this.

On Tue, Nov 11, 2008 at 2:09 PM, Jan Van Ryswyck
<[EMAIL PROTECTED]>wrote:

>
> Hi all,
>
> I've been playing with NHibernate Search, but encountered the
> following error when I call the PurgeAll method on a FullTextSession
> object:
>
> KeyNotFpundException - The given key was not present in the
> dictionary.
>
> Here is a code snippet:
>
> using(IFullTextSession s =
> Search.CreateFullTextSession(sf.OpenSession()))
> {
>    using(ITransaction tx = s.BeginTransaction())
>    {
>        s.PurgeAll(typeof(Book));
>
>        var b1 = new Book(1,
>                          "Author1",
>                          "Title1",
>                          "Summary1");
>        s.Save(b1);
>
>        var b2 = new Book(2,
>                          "Author2",
>                          "Title2",
>                          "Summary2");
>        s.Save(b2);
>
>        tx.Commit();
>    }
> }
>
> Any thoughts on what I'm doing wrong?
>
> Kind regards,
>
> Jan
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to