How do tell the EpFind.Api to set the field names for certain properties to have the $$Type on them with an ATTRIBUTE?
I had to turn off this feature for most of my objects properties, but I need the fields below to APPEAR like this and currently they are now missing the $$string.
What is the attribute that will let me SET JUST these properties to have these names?
Have a look at the bottom code sample in this excellent blog post:https://world.optimizely.com/blogs/Per-Magne-Skuseth/Dates/2016/1/episerver-find-index-blocks-in-xhtmlstring/Something like this...??
SearchClient.Instance.Conventions.ForType<XhtmlString>().Field(x => x.SearchSection).Modify(x => x.PropertyName = "SearchSection" + TypeSuffix.String);
Yeah that does it! I tried that and it works!
Also I tried [JsonProperty(name$$string)] and it respects that as well.
So I am set!