Как внедрить Solr в Sitecore

Я должен внедрить индекс Solr в Sitecore, и я хотел бы знать, каков наилучший подход?

Я посмотрел на следующие подходы:

Capture publish end event (or other events) and then push item to solr index Implement custom database crawler and get all changes from history table. Then using custom index push data to solr.

Второй подход звучит как путь (на мой взгляд). В этом случае мне нужно создать новый индекс поиска или менеджер поиска?

Если кто-то делал это раньше, можете ли вы указать мне правильное направление? Также, если вы можете опубликовать несколько ссылок на статьи о реализации sitecore-solr.

UPDATE Хорошо, после прочтения документации на sitecore я пришел к следующему:

Create your custom SolrConfiguration class where you can set properties like solrserviceurl, add indexes and its definition (custom solr indexes)

Create SolrIndex and add it (in the config file) to your SolrConfiguration. Which instantiating, solrindex should subscribe to AddEntry event of Sitecore History Manager, and communicate with solr crawlers.

Create custom processor and hook into sitecore initialisation pipeline. Processor should initialize SolrConfiguration (from step 1)

Since everything in your config file in will be build using refrection, you can get instance of your cofiguration based on your config file

Как это звучит. Могу ли я иметь какие-либо комментарии, пожалуйста?

Ответы на вопрос(2)

Ваш ответ на вопрос