I have a custom ISearchableContentType
I'm wondering once I create new content of that type, how long will it take before it shows up in the search index?
I have a custom ISearchableContentType
I'm wondering once I create new content of that type, how long will it take before it shows up in the search index?
In GetContentToIndex(), build your new document using ISearchIndexing.NewDocument(..). That in turn will call ISearchableContentType.GetViewSecurityRoles()
Looks like I have the roles now appearing in the solr document
<doc>
<str name="id">28c4b8f2-6f3a-4b95-aff4-df875968afd3</str>
<str name="contenttypeid">2da07dc7-f5f3-4f6f-8766-218a0153714e</str>
<str name="type">WebContent</str>
<str name="url">/ronnie-coleman</str>
<str name="title">Ronnie Coleman Is a Boss</str>
<str name="content">Ronnie Coleman Is a Boss</str>
<str name="rawcontent">Ronnie Coleman Is a Boss</str>
<arr name="roles">
<str>1</str>
</arr>
<double name="contentscore">0.0</double>
<arr name="category">
<str>WebContent</str>
</arr>
<long name="_version_">1660326031514402817</long>
<bool name="isapplication">false</bool>
<bool name="iscontainer">false</bool>
<date name="timestamp">2020-03-05T12:11:33.116Z</date>
<float name="score">37.67538</float></doc>, but still not showing up in site search. Does the number correlate to the Int Id in the cs_Security_Roles table?