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

Try our conversational search powered by Generative AI!

Commerce Items being indexed in the find index when unpublished.

Vote:
 

Currently, we have Episerver find working with Episerver commerce, and we have noticed that any unpublished items in the catalogue are also being indexed. Is this expected?

I have found a solution to get around the problem but was wondering if it is expected for this to happen or we have to configure something to stop this.

When searching with the returns items which don't have URLs as they are not published, which is an issue.

Thanks in advance!

#191670
Apr 26, 2018 11:03
Vote:
 

It's very likely to be as designed - Find would index all content regardless of their version statuses (Don't take my words for granted, my memory in this area is rusty)

You can of course filter the search result by adding FilterForVisitor, or even tell Find to skip indexing non-published content altogether. 

#191680
Apr 26, 2018 11:58
Vote:
 

Thanks for the information. I think it would be best to exclude them from being indexed as to not bog down the index. I shall have a look and see how that goes. Thanks for your advice!

#191685
Apr 26, 2018 12:49
* 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.