The process of building custom solutions for SharePoint Server.
Before we begin troubleshooting, could you please confirm whether your main site and the subsite are located under the same Site Collection, or if the subsite belongs to a different Site Collection?
If the subsite belongs to a different Site Collection, or if the RefinableString mappings were only created at the Site Collection level on the main site, then the subsite may see a different (or incomplete) list of refinable managed properties.
Even in cases where both the main site and subsite are within the same Site Collection, please note that changes made to the Search Schema may still require:
- Some propagation time, and
- Re-crawling / re-indexing of the affected lists or libraries
To ensure consistency across sites, you may also want to verify the mappings at the Tenant (or Search Service Application) level:
- Go to Manage Search Schema
- Locate the
RefinableStringXXproperties that are working on the main site - Confirm that they are mapped to the correct crawled properties
This helps make those managed properties available across all subsites and site collections.
After that, please re-index the affected libraries in the subsite so that the next crawl can pick up the updated schema mappings.
I'm currently attempting to test this behavior on my side as well, but I'm encountering an issue with my server environment. In the meantime, could you please try the steps above and let me know the outcome?
If the issue still persists after that, feel free to share an update here so we can continue investigating further.
Update April 22nd:
The different Search Schema behavior between the main site and the subsite has been resolved. However, an issue remains with the NBS Search web part, where the RefinableStrings are not appearing correctly.
Below are the steps that helped resolve the issue:
After adding a RefinableString mapped to a column in the NBS search, the column data may not appear initially. The key point is in the “Selected properties” section (page 2 of the search results web part settings). It is necessary to deselect any unused properties. Because there is a limit to how many properties can be selected and returned, keeping unnecessary properties selected may prevent newly added properties from appearing.
Once space is freed, select the RefinableString property again.
If the checkmark icon does not appear after selecting the new property, this is not a concern. As long as the data is displayed correctly, the checkmark itself is not critical. Deselecting and reselecting the RefinableString property can be repeated until the data becomes visible.
Also note: If some RefinableString mappings were deleted previously, the changes may not immediately reflect in the search results. In some cases, creating a new RefinableString mapping and configuring it again can resolve the issue, as the new mapping is picked up correctly by the search index.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.