So, this is a bit of a weird one. Currently running Umbraco V11.1.0
When I set my composer up like this:
builder.Services.ConfigureOptions<ConfigureEntwinedStudiosIndexOptions>();
builder.Services.AddExamineLuceneIndex<EntwinedStudiosIndex, ConfigurationEnabledDirectoryFactory>("EntwinedStudiosIndex");
builder.Services.AddSingleton<EntwinedStudiosIndexValueSetBuilder>();
builder.Services.AddSingleton<IIndexPopulator, EntwinedStudiosIndexPopulator>();
My index populates, but the options I’ve configured in the ConfigureEntwinedStudiosIndexOptions class are ignored. (Specifically published content is set to false, and itemTypes are not present.)
When I set my composer up like this:
builder.Services.AddExamineLuceneIndex<EntwinedStudiosIndex, ConfigurationEnabledDirectoryFactory>("EntwinedStudiosIndex");
builder.Services.ConfigureOptions<ConfigureEntwinedStudiosIndexOptions>();
builder.Services.AddSingleton<EntwinedStudiosIndexValueSetBuilder>();
builder.Services.AddSingleton<IIndexPopulator, EntwinedStudiosIndexPopulator>();
The index shows all the options I expect it to, but nothing gets indexed.
When content is indexed, this is what I see:
This is what I see under the second composer configuration:
I was following along at this link to try and figure out what I did wrong - but even when I set things up exactly the way this link has, I get the above results.
I can probably live with using default indexing options if I need to, but I’d like to know if I’m doing something wrong here. I’m new to Examine and Index Manipulation.
Thanks!
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/111323-custom-index-issue