public DocumentIndexProvider(IActivityLoggerFactory loggerFactory, DocumentIndexSetup documentIndexSetup, DocumentIndexMetadata documentIndexMetadata, DocumentIndexOptimizeHintFactory optimizeHintFactory)
		{
			_loggerFactory = loggerFactory;
			_documentIndexSetup = documentIndexSetup;
			_documentIndexMetadata = documentIndexMetadata;
			_optimizeHintFactory = optimizeHintFactory;
			_documentIndexes = new DocumentIndexes();
		}
		public void Test()
		{
			var metadata = new DocumentIndexMetadata();
			var fields = metadata.DocumentIndexTypes.SelectMany(t => t.DocumentFields.Concat(t.IndexFields));
			foreach (var f in fields.OfType<AssignableField>().Distinct())
			{
			 Console.WriteLine(f);
			}
		}
        public void Test()
        {
            var metadata = new DocumentIndexMetadata();
            var fields   = metadata.DocumentIndexTypes.SelectMany(t => t.DocumentFields.Concat(t.IndexFields));

            foreach (var f in fields.OfType <AssignableField>().Distinct())
            {
                Console.WriteLine(f);
            }
        }