Why are there some missing indexes?
This happens when there are no items to add to the index. To create an index it is required to create an index schema. The schema is created dynamically based on the fields of the items that are going to be added to the index. As there are no items to add, the schema is not created as well as the index.
Why there are queries to the index which does not exist?
Different parts of Sitecore functionality may rely on the index in question. The index will be still queried every time to check if it is created and if there are any items in it.
Can I manually create these empty indexes?
Yes, however they will probably get deleted next time a rebuild is kicked off.
Azure Search does not allow to modify the schema of the existing fields but only allows to add new fields to the schema. However, the schema is strictly limited to 1000 fields only. So the indexer will first delete the index and then try to recreate it if it can find any fields on the index.
Can I add dummy items for it to create the indexes?
- Create a media item or just use the default
/sitecore/media library/Default-Website/sc-logo item
- Create an asset under
/sitecore/system/Marketing Control Panel/Taxonomies/Asset if you don't have any already
- Set an asset in the
Marketing asset field of the media item.
- Assign the
Download event to this media item: Content Editor -> Media item -> Analyze tab -> Attributes -> Events -> Download
- The "Deploy" tab of the media item should now show, you can then click it to deploy the marketing asset (which in turn will index the new item).
- Create a dummy domain matcher item under
/sitecore/system/Marketing Control Panel/FXM
- Set the domain to a dummy value