/// <summary> /// Adds a new document to the index /// </summary> /// <remarks> /// This method will delete a document with the same entity id - if it exists - before saving it. /// </remarks> public static void SaveDocument(this IIndexStore store, IIndexDocument document) { store.SaveDocuments(new[] { document }); }