Any way to index content using ContentReference?

Vote:
 

I am having a list of ContentReferences.

I need to index the content in EpiServer Find using these ContentReferences.

Any way to do that?

#217430
Feb 24, 2020 6:09
Vote:
 

You can use IContentLoader to load the content from the content references, then use IContentIndexer to index the content 

#217431
Feb 24, 2020 6:32
Vote:
 

@Quan Mai, Thanks. It works.

IContentIndexer indexer= ContentIndexer.Instance;
                indexer.Index(content);
#217432
Feb 24, 2020 7:24
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.