...
Info |
---|
Please be aware that if you populate the managed schema after adding the dynamic field, then they are overwritten. |
5
...
Changes in managed schema
Locate the managed-schema file under the 2 cores dfs_assets_master_index and dfs_assets_web_index you created in section 1.
- Check uniqueKey
Check the tag <uniqueKey> the value should be _uniqueid.
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).
...
- Change fieldtype "lowercase" to use another tokenizer
Locate the fieldtype lowercase, and change the tokenizer from solr.KeywordTokenizerFactory to solr.StandardTokenizerFactory.
Then restart the solr service.
See Sitecore documentation for for further information.
6 Searching with hyphen
To be able to search with hyphen, open then configurations file App_Config → Include → damforsitecore → DFS.Settings.config and locate the setting DFS.ContentSearch.FreetextSearch.ReplaceWithSpace. Add a hyphen to the value. like this:
<setting name="DFS.ContentSearch.FreetextSearch.ReplaceWithSpace" value="-" />