Do a search by id desc and get the first one? On Fri, Apr 3, 2009 at 4:27 AM, orjan <[email protected]> wrote:
> > I've been using NHSearch for a little while and everything runs very > smooth. However, since the rows are not inserted with NHibernate I'll > have to manually add indexes for new entities. I can keep track of the > last indexed id manually and index new ones with a cron job but I'm > not sure if that's the best way to do it. > > Is there a way to get the id for the last inserted index from NHSearch > or Lucene.Net? > > Regards, > > Örjan > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
