Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is configured doing the following

1 Create physical cores

To create the physical Solr cores, do the following:

  1. open file explorer on the server on which Solr is installed
  2. navigate to path <solr install dir>\solr-6.6.1-0\apache-solr\server\solr\configsets
  3. copy folder basic_configs into folder <solr install dir>\solr-6.6.1-0\apache-solr\server\solr
  4. rename to dfs_assets_master_index
  5. Repeat 1-4 for dfs_assets_web_index

2 Create cores in Solr UI

To create the cores in Solr UI, do the following:

  1. Open solr UI (e.g. https://127.0.0.1:8983/solr/)
  2. Go to Core Admin
  3. Add both cores (See screenshot below)

3 Populate cores

To populate Solr cores, do the following:

  1. Log into Sitecore
  2. Navigate to control panel
  3. Click Populate Solr Managed Schema
  4. Select both dfs indexes and press populate

4 Add DAM For Sitecore specific dynamic fields

To add DAM For Sitecore specifc dynamic fields, do the following:

...

Info

Please be aware that if you populate the managed schema after adding the dynamic field, then they are overwritten.

5 Check unqiueKey in managed schema

Sitecore 9.0.0 populates the managed schema with a wrong uniqueKey, so please double check that the <uniqueKey> tag does indeed contain the correct uniqueKey (it should be _uniqueid).

...