예제 #1
0
        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);
        }
예제 #2
0
        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));
        }
예제 #3
0
 public LuceneIndex CreateIndex(ColumnIndexContext context)
 {
     throw new NotImplementedException();
 }
예제 #4
0
 ColumnIndex IIndexFactory.CreateIndex(ColumnIndexContext context)
 {
     return CreateIndex(context);
 }
예제 #5
0
 public LuceneIndex CreateIndex(ColumnIndexContext context)
 {
     throw new NotImplementedException();
 }
예제 #6
0
 ColumnIndex IIndexFactory.CreateIndex(ColumnIndexContext context)
 {
     return(CreateIndex(context));
 }