public static ColumnIndex CreateColumnIndex(this ISystemContext context, string indexType, ColumnIndexContext indexContext) { var factory = context.ResolveIndexFactory(indexType); if (factory == null) throw new NotSupportedException(String.Format("None index factory for type '{0}' was configured in the system.", indexType)); return factory.CreateIndex(indexContext); }
public static ColumnIndex CreateColumnIndex(this ISystemContext context, string indexType, ColumnIndexContext indexContext) { var factory = context.ResolveIndexFactory(indexType); if (factory == null) { throw new NotSupportedException(String.Format("None index factory for type '{0}' was configured in the system.", indexType)); } return(factory.CreateIndex(indexContext)); }
public LuceneIndex CreateIndex(ColumnIndexContext context) { throw new NotImplementedException(); }
ColumnIndex IIndexFactory.CreateIndex(ColumnIndexContext context) { return CreateIndex(context); }
ColumnIndex IIndexFactory.CreateIndex(ColumnIndexContext context) { return(CreateIndex(context)); }