Class IndexBuilderBase
- Namespace
- Dynamicweb.Indexing
- Assembly
- Dynamicweb.Indexing.dll
Defines index builder base operations
public abstract class IndexBuilderBase : ConfigurableAddIn, IIndexBuilder
- Inheritance
-
IndexBuilderBase
- Implements
- Inherited Members
Properties
Action
Index builder action
public string Action { get; set; }
Property Value
DefaultSettings
Default settings
public virtual IDictionary<string, object> DefaultSettings { get; }
Property Value
Extenders
List of Index builder extenders
public IEnumerable<IIndexBuilderExtender<IIndexBuilder>> Extenders { get; set; }
Property Value
Meta
Meta information
public IDictionary<string, string> Meta { get; set; }
Property Value
Name
Index builder name
public string Name { get; set; }
Property Value
Notification
Gets or sets notification
public IIndexBuilderNotification Notification { get; set; }
Property Value
Schema
Schema
public SchemaDefinition Schema { get; set; }
Property Value
Settings
Settings
public IDictionary<string, string> Settings { get; set; }
Property Value
SupportedActions
List of supported actions
public abstract IEnumerable<string> SupportedActions { get; }
Property Value
Type
Index builder type
public string Type { get; set; }
Property Value
Methods
Build(IIndexWriter, Tracker)
Builds the index to the specified writer
public abstract void Build(IIndexWriter writer, Tracker tracker)
Parameters
writer
IIndexWriter- The indexing writer
tracker
Tracker- The tracker instance to log what happens
GetBoolean(string)
protected bool GetBoolean(string key)
Parameters
key
string
Returns
GetFields()
Defines GetFields required operation
public abstract IEnumerable<FieldDefinitionBase> GetFields()
Returns
GetInt32(string)
protected int GetInt32(string key)
Parameters
key
string
Returns
GetString(string)
protected string GetString(string key)
Parameters
key
string
Returns
SetValue<T>(string, T)
protected void SetValue<T>(string key, T value)
Parameters
key
stringvalue
T
Type Parameters
T