Class ContentIndexBuilder
- Namespace
- Dynamicweb.Content
- Assembly
- Dynamicweb.dll
ContentIndexProvider implements a IndexBuilderBase that indexes Pages, paragraphs and items to the index.
public class ContentIndexBuilder : IndexBuilderBase, IIndexBuilder
- Inheritance
-
ContentIndexBuilder
- Implements
- Inherited Members
Properties
AppsToHandle
[AddInParameter("AppsToHandle")]
[AddInLabel("Apps to handle")]
[AddInParameterEditor(typeof(TextParameterEditor), "infoText=Defaults to all; Explanation=Allows specification of ContentAppIndexProviders via a comma-separated list;")]
public string AppsToHandle { get; set; }
Property Value
DefaultSettings
Gets default settings collection
public override IDictionary<string, object> DefaultSettings { get; }
Property Value
ExcludeItemsFromIndex
[AddInParameter("ExcludeItemsFromIndex")]
[AddInLabel("Exclude Items from Index")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "Explanation=Excludes item content from the index;")]
public bool ExcludeItemsFromIndex { get; set; }
Property Value
SkipPageItemRelationLists
[AddInParameter("SkipPageItemRelationLists")]
[AddInLabel("Skip page Item relation lists")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool SkipPageItemRelationLists { get; set; }
Property Value
SkipParagraphItemRelationLists
[AddInParameter("SkipParagraphItemRelationLists")]
[AddInLabel("Skip paragraph Item relation lists")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool SkipParagraphItemRelationLists { get; set; }
Property Value
SupportedActions
List of supported actions, currently just supports full indexing.
public override IEnumerable<string> SupportedActions { get; }
Property Value
- IEnumerable<string>
The supported actions.
Methods
Build(IIndexWriter, Tracker)
Builds the index to the specified writer.
public override void Build(IIndexWriter writer, Tracker tracker)
Parameters
writer
IIndexWriterThe indexing writer.
tracker
TrackerThe tracker instance to log what happens.
GetFields()
Returns the fields that this provider supports - a list of page, paragraph and item fields.
public override IEnumerable<FieldDefinitionBase> GetFields()
Returns
- IEnumerable<FieldDefinitionBase>
IList(Of FieldDefinition).