cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sharing Solr context between Providers when indexing

haythem_jaiech
Explorer
0 Likes
372

Hello guys,

Is there any way to share Solr context between Providers when indexing ? In other words, for example I have a product and I want to index 3 attributes to Solr:

  • Price

  • Promotional price

  • Discount strike price

All of those providers will try to find thew price by channel and calculate it, and I want to do it once.

Regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

haythem_jaiech
Explorer
0 Likes

Thank you, I'll try it!

former_member775304
Participant
0 Likes

Hi,

yes, just implement the ValueResolver interface. Some examples are available on https://help.hybris.com/6.7.0/hcd/8c7dea5386691014aceaa6b5ab3e31b9.html .