We are planning to upgrade from Apache Solr to EPiServer Search & Navigation. We were able to use the out of box configuration of Episerver search & navigation index all the catalog entry items. we have a custom BFO which stores the attributes (RAM, Processor Type, HDD Size etc.,) for these products and our existing indexing job used to index these attributes and performs a faceted search on this attributes. Can someone guide me in the right direction to perform the same task (faceted search on attributes) with EpiServer Search & Navigation?
I have no idea what you mean with a BFO. Have you tried an extension method to add them to the index? Assuming it's not a regualr property
.IncludeField(x => x.BFO());
You would need to add an extension method to your entry model, for example
public static bool IsOK(this ProductContent productContent)
in which you load the BF object and returns the value(s). then you include this extension method to your model as Jeroen suggested.
Indexing performance might be a concern, however.
Without knowing how many BF objects you have and how they are attached to the products, it's impossible for me to give a meaningful suggestion. However if you only have few BF objects to define the attributes, it might make senses to create a class to load them and place them in cache instead.
Thanks a lot for working with on this.
I have attached a high-level schema and sample for your perusal. https://ibb.co/dMwjYFZ
Please let me know if it helps in guiding me in the right direction.
Why can't you store the information as property of the product? I think it can be easily represented as a list