Class CatalogIndexBuilder
Builds indexes for catalog entries.
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Search.Extensions.Indexers
Assembly: Mediachase.Search.Extensions.dll
Version: 10.8.0Syntax
public class CatalogIndexBuilder : BaseCatalogIndexBuilder, ISearchIndexBuilder
Constructors
CatalogIndexBuilder()
Initializes a new instance of the CatalogIndexBuilder class.
Declaration
public CatalogIndexBuilder()
CatalogIndexBuilder(ICatalogSystem, IPriceService, IInventoryService, MetaDataContext)
Initializes a new instance of the CatalogIndexBuilder class.
Declaration
public CatalogIndexBuilder(ICatalogSystem catalogSystem, IPriceService priceService, IInventoryService inventoryService, MetaDataContext metaDataContext)
Parameters
Type | Name | Description |
---|---|---|
ICatalogSystem | catalogSystem | The catalog system. |
IPriceService | priceService | The price service. |
IInventoryService | inventoryService | The inventory service. |
MetaDataContext | metaDataContext | The meta data context. |
CatalogIndexBuilder(MetaDataContext)
Initializes a new instance of the CatalogIndexBuilder class.
Declaration
public CatalogIndexBuilder(MetaDataContext metaDataContext)
Parameters
Type | Name | Description |
---|---|---|
MetaDataContext | metaDataContext | The meta data context. |
Methods
OnCatalogEntryIndex(ref SearchDocument, CatalogEntryDto.CatalogEntryRow, String)
Called when catalog entry is indexed. Override this method to add some extra fields.
Declaration
protected override void OnCatalogEntryIndex(ref SearchDocument document, CatalogEntryDto.CatalogEntryRow entry, string language)
Parameters
Type | Name | Description |
---|---|---|
SearchDocument | document | The document. |
CatalogEntryDto.CatalogEntryRow | entry | The entry. |
System.String | language |