using System; using System.Collections.Generic; namespace Best.HTTP.Shared.Databases { public abstract class IndexingService where MetadataType : Metadata { /// /// Index newly added metadata /// public virtual void Index(MetadataType metadata) { } /// /// Remove metadata from all indexes. /// public virtual void Remove(MetadataType metadata) { } /// /// Clear all indexes /// public virtual void Clear() { } /// /// Get indexes in an optimized order. This is usually one of the indexes' WalkHorizontal() call. /// public virtual IEnumerable GetOptimizedIndexes() => null; } }