Table of Contents

Class IndexProviderBase

Namespace
Dynamicweb.Indexing
Assembly
Dynamicweb.Core.dll

Base index provider class

[DataContract]
public abstract class IndexProviderBase : IIndexProvider
Inheritance
IndexProviderBase
Implements
Inherited Members

Properties

Index

Index provided by index provider

public IIndex? Index { get; set; }

Property Value

IIndex

IsAvailable

Shows if index is available

[DataMember]
public abstract bool IsAvailable { get; }

Property Value

bool

Name

Index provider name

[DataMember]
public string Name { get; set; }

Property Value

string

Settings

Index provider settings

[DataMember]
public IDictionary<string, string> Settings { get; set; }

Property Value

IDictionary<string, string>

SupportedAnalyzers

List of supported analyzers

[DataMember]
public abstract IEnumerable<Type> SupportedAnalyzers { get; }

Property Value

IEnumerable<Type>

Type

Index provider type

[DataMember]
public string Type { get; set; }

Property Value

string

Methods

CreateWriter()

Defines create writer operation

public abstract IIndexWriter CreateWriter()

Returns

IIndexWriter

GetFieldTermsAndCount(string, string, string, string?, int)

public abstract IEnumerable<TermInfo> GetFieldTermsAndCount(string repository, string indexName, string fieldname, string? fieldType, int resultLimit)

Parameters

repository string
indexName string
fieldname string
fieldType string
resultLimit int

Returns

IEnumerable<TermInfo>

GetRebuildNotice()

Explains why the built index must be rebuilt to work with the current system configuration.

public virtual string? GetRebuildNotice()

Returns

string

The explanation, or null when the index needs no rebuild.

To top