Table of Contents

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

IDictionary<string, object>

Recursive

[AddInParameter("Recursive")]
[AddInLabel("Recursive")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool Recursive { get; set; }

Property Value

bool

SkipDynamicwebMetadata

[AddInParameter("SkipDynamicwebMetadata")]
[AddInLabel("Skip Dynamicweb metadata")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool SkipDynamicwebMetadata { get; set; }

Property Value

bool

SkipMetadata

[AddInParameter("SkipMetadata")]
[AddInLabel("Skip metadata")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool SkipMetadata { get; set; }

Property Value

bool

StartFolder

[AddInParameter("StartFolder")]
[AddInLabel("Start folder")]
[AddInParameterEditor(typeof(TextParameterEditor), "")]
public string StartFolder { get; set; }

Property Value

string

SupportedActions

List of supported actions
public override IEnumerable<string> SupportedActions { get; }

Property Value

IEnumerable<string>

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()

Returns

IEnumerable<FieldDefinitionBase>
To top