...
Code Block | ||
---|---|---|
| ||
container.AddHawksearchVariantIndexing<GenericVariant>() .ExtendVariantIndexing<GenericVariant, EntriesImagePipe<GenericVariant>>() .ExtendVariantIndexing<GenericVariant, GenericVariantAttributesPipe>() .ExtendVariantIndexing<GenericVariant, GenericVariantShippingPipe>(); private IndexingChain FullIndexingChain(IContainer container) { return new IndexingChain(container) .AddHandler<DeletePreviousIndexHandler>() ... .AddHandler<VariantsIndexingHandler<GenericVariant>>() ... ; } private IncrementalIndexingChain FullIndexingChain(IContainer container) { return new IndexingChain(container) .AddHandler<DeletePreviousIndexHandler>() ... .AddHandler<VariantsIncrementalIndexingHandler<GenericVariant>>() ... ; } |
Indexing Setup Example: Optimizely Foundation
A full version of the HawksearchInitialization
class used to set up indexing on the Optimizely Foundation solution can be found below:
...