Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've got a site with many language variations. I need to have one Examine index per language, because each language needs to have a different Lucene analyzer.
In the Umbraco 10 source, the 3 default indexes (Internal, External and Members) are added during startup via a call to Umbraco.Cms.Infrastructure.Examine.DependencyInjection.AddExamineIndexes. But I need to be able to inspect the languages available in the site during that step so I can add an index for each. In v8 I created the indexes in an IComponent, so I was able to inject IContentService.
Is it possible to access IContentService during startup under v10 so I can figure out which languages exist?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted