Class FileIndexBuilder
- Namespace
- Dynamicweb.Content.Files
- Assembly
- Dynamicweb.dll
public class FileIndexBuilder : IndexBuilderBase, IIndexBuilder
- Inheritance
-
FileIndexBuilder
- Implements
- Inherited Members
Properties
DefaultSettings
Default settings
public override IDictionary<string, object> DefaultSettings { get; }
Property Value
Recursive
[AddInParameter("Recursive")]
[AddInLabel("Recursive")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool Recursive { get; set; }
Property Value
SkipDynamicwebMetadata
[AddInParameter("SkipDynamicwebMetadata")]
[AddInLabel("Skip Dynamicweb metadata")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool SkipDynamicwebMetadata { get; set; }
Property Value
SkipMetadata
[AddInParameter("SkipMetadata")]
[AddInLabel("Skip metadata")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool SkipMetadata { get; set; }
Property Value
StartFolder
[AddInParameter("StartFolder")]
[AddInLabel("Start folder")]
[AddInParameterEditor(typeof(TextParameterEditor), "")]
public string StartFolder { get; set; }
Property Value
SupportedActions
List of supported actions
public override IEnumerable<string> SupportedActions { get; }
Property Value
Methods
Build(IIndexWriter, Tracker)
Builds the index to the specified writer
public override void Build(IIndexWriter writer, Tracker tracker)
Parameters
writer
IIndexWriter- The indexing writer
tracker
Tracker- The tracker instance to log what happens
GetFields()
Defines GetFields required operation
public override IEnumerable<FieldDefinitionBase> GetFields()