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), "")]
public string AppsToHandle { get; set; }
Property Value
- See Also
DefaultSettings
Gets default settings collection
public override IDictionary<string, object> DefaultSettings { get; }
Property Value
- See Also
ExcludeItemsFromIndex
[AddInParameter("ExcludeItemsFromIndex")]
[AddInLabel("Exclude Items from Index")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool ExcludeItemsFromIndex { get; set; }
Property Value
- See Also
SkipPageItemRelationLists
[AddInParameter("SkipPageItemRelationLists")]
[AddInLabel("Skip page Item relation lists")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool SkipPageItemRelationLists { get; set; }
Property Value
- See Also
SkipParagraphItemRelationLists
[AddInParameter("SkipParagraphItemRelationLists")]
[AddInLabel("Skip paragraph Item relation lists")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool SkipParagraphItemRelationLists { get; set; }
Property Value
- See Also
SupportedActions
List of supported actions, currently just supports full indexing.
public override IEnumerable<string> SupportedActions { get; }
Property Value
- IEnumerable<string>
- The supported actions.
- See Also
Methods
Build(IIndexWriter, Tracker)
Builds the index to the specified writer.
public override void Build(IIndexWriter writer, Tracker tracker)
Parameters
writer
IIndexWriter- The indexing writer.
tracker
Tracker- The tracker instance to log what happens.
- See Also
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).
- See Also