Hi, I have a custom index for our properties. Using breakpoints I can see that all of the index content is correct when it is rebuild. However, some of the properties don’t get their taxonomy channel applied, despite it being added to the “channel” field in the ValueSetBuilder.
[Const.PropertyChannel] = string.Join(",", property.GetChannels().Select(x => ((int)x))),
this always shows as correct but for some reason anything that has more than on channel e.g. 0,1 is missing the channel field in the index.
This is hard to fix as I’m not sure what isn’t right about it.
the index should report as this:
but instead on properties not on channel “1” it’s missing:
The index composer is:
builder.Services.AddExamineLuceneIndex<PropertyIndex, ConfigurationEnabledDirectoryFactory>("PropertyIndex");
builder.Services.ConfigureOptions<ConfigurePropertyIndexOptions>();
builder.Services.AddSingleton<PropertyIndexValueSetBuilder>();
builder.Services.AddSingleton<IIndexPopulator, PropertyIndexPopulator>();
builder.AddNotificationHandler<ContentCacheRefresherNotification, PropertyIndexingNotificationHandler>();
Which should be the right order as the index is working otherwise. I’m just a bit stuck now.
Thanks in advance for your help! Just let me know if more info is needed and I can provide it.