Table of Contents

Class Index

Namespace
Dynamicweb.Indexing
Assembly
Dynamicweb.Indexing.dll
[JsonConverter(typeof(IndexJsonConverter))]
public class Index : IIndex
Inheritance
Index
Implements
Inherited Members

Constructors

Index()

Default constructor
public Index()

Properties

Balancer

Gets or sets load balancer instance
public IIndexBalancer Balancer { get; set; }

Property Value

IIndexBalancer

Builds

Gets or sets index builders
public IDictionary<string, IIndexBuilder> Builds { get; set; }

Property Value

IDictionary<string, IIndexBuilder>

Description

gets or sets description text
public string Description { get; set; }

Property Value

string

FileName

Gets or sets Index file name
public string FileName { get; set; }

Property Value

string

Instances

Gets or sets Index providers
public IDictionary<string, IIndexProvider> Instances { get; set; }

Property Value

IDictionary<string, IIndexProvider>

Meta

Get or sets meta information
public IDictionary<string, string> Meta { get; set; }

Property Value

IDictionary<string, string>

Name

Gets or sets index instance name
public string Name { get; set; }

Property Value

string

Schema

Gets or sets index schema definition
public SchemaDefinition Schema { get; set; }

Property Value

SchemaDefinition

Settings

Gets or sets settings collection
public IDictionary<string, string> Settings { get; set; }

Property Value

IDictionary<string, string>

SubType

Gets or sets index sub type
public string SubType { get; set; }

Property Value

string

Type

Gets or sets index type
public string Type { get; set; }

Property Value

string

Methods

Build(string, string, Tracker)

Builds index
public void Build(string instance, string name, Tracker tracker)

Parameters

instance string
Index instance name
name string
Build name
tracker Tracker
Diagnostics tracker

GetInstance()

Gets index provider instance
public virtual IIndexProvider GetInstance()

Returns

IIndexProvider

SetInstance(string)

Sets index name
public virtual void SetInstance(string name)

Parameters

name string
To top