I am trying to get the time the index was last uppdated to use as a cache-dependency key but I can't find that information anywhere.
Anyone knows if its possible to do that?
/Henrik
For IContent stuff you can query for this using:
var timestamp = SearchClient.Instance.Search<IContent>() .OrderByDescending(x => x.GetTimestamp()) .Take(1) .Select(x => x.GetTimestamp()) .GetResult().First();
I am trying to get the time the index was last uppdated to use as a cache-dependency key but I can't find that information anywhere.
Anyone knows if its possible to do that?
/Henrik