cancel
Showing results for 
Search instead for 
Did you mean: 

How to include "approval status" of a product in update solr indexing

0 Kudos

When we change approval status of a product from backoffice or pcm, the change is reflecting on the storefront only after full solr indexing.

But we want to include approval status attribute to be indexed during the solr update indexer job.

How can we achieve this.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member620692
Active Contributor
0 Kudos

Hi - I have never seen any website displaying the approvalStatus of a product to the customers (i.e. displaying this information on the storefront). This attribute is there to use for backend processing e.g. for synchronization, workflow etc.

Do you really have a use case of displaying the approvalStatus to the customers? As long as the customer-exposed attributes are working fine, there is no reason to worry about it. If you just want to explore the internal working of the code, you can debug the code and find out about it.

rohit31_raj92
Active Participant
0 Kudos

You can include the approval status as SolrIndexedProperty and use write your own value provider if need to have any custom business logic or simply can OOTB "springELValueProvider" .

and import the impex and run solr update on solr Indexing.

Thanks

0 Kudos

Hi ,

Approvalstatus is already getting indexed with full index. Does not it mean it is already a solr indexed property.

This just does not get indexed with solr update index alone.