NamingHelperGetValidFieldNameInternal Method |
Namespace: CMS.Search.Azure
protected virtual string GetValidFieldNameInternal( string fieldName )
Exception | Condition |
---|---|
ArgumentNullException | Thrown when fieldName is null. |
Azure Search has naming rules (https://docs.microsoft.com/en-us/rest/api/searchservice/naming-rules) which field names must follow. Remarkably
Since system fields start with a dash (e.g. ID), the default implementation prefixes dash starting name of column by string "sys".