Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Unable to fetch the indexed extra property on Find

Vote:
 

Hi,

Using Episerver Foundation, I included an extra property on the GenericProduct type:

SearchClient.Instance.Conventions.ForInstancesOf<GenericProduct>().IncludeField(x => x.VariationsLink());

I can see the data being indexed as well on find, but the issue is that I dont see this property in the search results object. I am searching using the base class:

_findClient.Search<EntryContentBase>();

But the object doesnt seem to have this property (VariationsLink).

What can I do to fetch the included field (VariationsLink) from the index via Find.

#222610
May 08, 2020 3:11
Vote:
 

And if you search for GenericProduct?  Because EntryContentBase is not an instance of GenericProduct, GenericProduct is an instance of EntryContentBase

#222611
May 08, 2020 7:12
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.