After upgrading to v.12 running Incremental Search Index throws error
System.InvalidOperationException HResult=0x80131509 Message=No service for type 'EPiServer.Commerce.FindSearchProvider.FindSearchIndexBuilder' has been registered. Source=Microsoft.Extensions.DependencyInjection.Abstractions StackTrace: at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
Running full index job works.
settings in appsettings.json
But it seems to complete successfully?
Can this exception be ignored?
I think you need to add
if you want to use FindSearchProvider
I guess the error could not have been more obvious.
What is the difference between Full indexing and Incremental though, that one works and the other one needs an additional service?
Full index = index everything, regardless of if it is changed or not
incremental = index only things that were changed from the last index
Do we still need setting in the appsettings?
I don't think you need the setting in the appsettings. it will be added by above code if none exists. And yes there should be documentation for it. I can add a bug but it will not be addressed very soon.
Ah, I misread your question. But those two should work the same, the difference is when they get the entries to index...
both are using the search provider, and they are different from Find Indexing job