protected override void AddAllFields(Document document, Item item, bool versionSpecific)
{
Assert.ArgumentNotNull(document, "document");
Assert.ArgumentNotNull(item, "item");
foreach (var field in FilteredFields(item))
{
var value = ExtendedFieldCrawlerFactory.GetFieldCrawlerValue(field, FieldCrawlers);
if (string.IsNullOrEmpty(value)) continue;
var indexType = GetIndexType(field);
var storageType = GetStorageType(field);
var vectorType = GetVectorType(field);
value = IdHelper.ProcessGUIDs(value);
ProcessField(document, field.Key, value, storageType, indexType, vectorType);
if (indexType == LuceneField.Index.TOKENIZED)
{
ProcessField(document, BuiltinFields.Content, value, LuceneField.Store.YES, LuceneField.Index.TOKENIZED);
}
}
ProcessDynamicFields(document, item);
}