public override void AddToIndex(IndexItem item) {
            var key = GetKey(item.PageId, item.LanguageId);
            var pageDocument = new PageDocument(key, item);
            _collection.RemoveDocument(key);
            _collection.AddDocument(pageDocument);

            IndexingFinished();
        }
 public PageDocument(string key, IndexItem item) {
     Key = key;
     Category = item.Category;
     Content = item.Content;
     Created = item.Created;
     LanguageId = item.LanguageId;
     MetaData = item.MetaData;
     Modified = item.Modified;
     PageId = item.PageId;
     Path = item.Path;
     Summary = item.Summary;
     Tags = item.Tags;
     Title = item.Title;
     PublishStart = item.PublishStart ?? DateTime.MaxValue;
     PublishStop = item.PublishStop ?? DateTime.MaxValue;
 }
 public override void AddToIndex(IndexItem item) {
 }
 public abstract void AddToIndex(IndexItem item);
 public override void AddToIndex(IndexItem item)
 {
 }