Search on custom content providers

Vote:
 

Does Episerver Find support searching on custom content providers that connect to external data sources?

The documentation only mentions providing search capability for custom content providers by implementing FindPagesWithCriteria. 

https://world.episerver.com/documentation/developer-guides/CMS/Content/Content-providers/Configuring-content-providers/

Ideally, we'd like to leverage Find's optimised search engine instead

#229043
Oct 07, 2020 5:54
Vote:
 

As long as you content provider supports IContent, it can be indexed by Find (you can technically use find with non-content objects, but that's trickier). Once it is indexed, it can be searched. 

#229055
Oct 07, 2020 7:26
Vote:
 

Thanks Quan. So if I understand correctly, Find will be able to index IContent data from custom content providers even if the data is not stored in the CMS database?

Also, do you know when data in the external data source is updated, would we need to manually reindex or would Find handle this automatically?

#229299
Oct 12, 2020 6:34
Vote:
 

If you simply extend ContentProvider then your basic events (create, publish, delete etc.) should be covered by Find. 

#229308
Oct 12, 2020 8:35
* 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.