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
IsAvailable
Shows if index is available
[DataMember]
public abstract bool IsAvailable { get; }
Property Value
Name
Index provider name
[DataMember]
public string Name { get; set; }
Property Value
Settings
Index provider settings
[DataMember]
public IDictionary<string, string> Settings { get; set; }
Property Value
SupportedAnalyzers
List of supported analyzers
[DataMember]
public abstract IEnumerable<Type> SupportedAnalyzers { get; }
Property Value
Type
Index provider type
[DataMember]
public string Type { get; set; }
Property Value
Methods
CreateWriter()
Defines create writer operation
public abstract IIndexWriter CreateWriter()
Returns
GetFieldTermsAndCount(string, string, string, string?, int)
public abstract IEnumerable<TermInfo> GetFieldTermsAndCount(string repository, string indexName, string fieldname, string? fieldType, int resultLimit)