Aqueduct.SitecoreLib.Search.Crawlers.AdvancedDatabaseCrawler.GetIndexType C# (CSharp) Method

GetIndexType() protected method

protected GetIndexType ( Sitecore.Data.Fields.Field field ) : Lucene.Net.Documents.Field.Index
field Sitecore.Data.Fields.Field
return Lucene.Net.Documents.Field.Index
        protected LuceneField.Index GetIndexType(SCField field)
        {
            if (FieldTypes.ContainsKey(field.TypeKey))
            {
                object searchField = FieldTypes[field.TypeKey];
                if (searchField is SearchField)
                {
                    return (searchField as SearchField).IndexType;
                }
            }
            return LuceneField.Index.UN_TOKENIZED;
        }