Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Indexing custom POCO

$
0
0

Hi,

I'm trying to index a custom POCO instead of variants for performance reasons. When following the guid at: https://world.episerver.com/documentation/Items/Developers-Guide/Episerver-Commerce/9/Search/find-integration/indexing-poco-objects-instead-of-catalogcontentbase/ it says to disable indexing of CatalogContentBase and to override CatalogContentEventListener actions.

This is weird because if I disable the indexing of CatalogContentBase the action methods will never be hit and my custom POCOs won't be indexed either. 
So this looks like a catch-22. I can't disable indexing of variants and when not disabling it's indexing both variant and POCO?

Does anyone have experience with indexing POCO's?

PS.

I'm trying this because of the number of results that we're returning from a query (aprox 900 items) and the default implementation loads the Variant from the database (slow) even when using projections! 

/Mark


Viewing all articles
Browse latest Browse all 6894

Trending Articles