Class UmbracoIndexConfig
Represents the configuration settings for an Umbraco Examine index.
Inheritance
object
Namespace: Umbraco.Cms.Infrastructure.Examine
Assembly: Umbraco.Infrastructure.dll
Syntax
public class UmbracoIndexConfig : IUmbracoIndexConfig
Constructors
View SourceUmbracoIndexConfig(IPublicAccessService, IScopeProvider)
Initializes a new instance of the UmbracoIndexConfig class with the specified public access service and scope provider.
Declaration
public UmbracoIndexConfig(IPublicAccessService publicAccessService, IScopeProvider scopeProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IPublicAccessService | publicAccessService | Service used to manage public access restrictions for content. |
| IScopeProvider | scopeProvider | Provider for managing database transaction scopes. |
Properties
View SourcePublicAccessService
Declaration
protected IPublicAccessService PublicAccessService { get; }
Property Value
| Type | Description |
|---|---|
| IPublicAccessService |
ScopeProvider
Declaration
protected IScopeProvider ScopeProvider { get; }
Property Value
| Type | Description |
|---|---|
| IScopeProvider |
Methods
View SourceGetContentValueSetValidator()
Gets a content value set validator configured for use with content indexing.
Declaration
public IContentValueSetValidator GetContentValueSetValidator()
Returns
| Type | Description |
|---|---|
| IContentValueSetValidator | An instance of IContentValueSetValidator initialized with the current configuration and services. |
GetMemberValueSetValidator()
Returns the Examine.IValueSetValidator for the member indexer
Declaration
public IValueSetValidator GetMemberValueSetValidator()
Returns
| Type | Description |
|---|---|
| IValueSetValidator |
GetPublishedContentValueSetValidator()
Gets the IContentValueSetValidator instance used to validate published content value sets.
Declaration
public IContentValueSetValidator GetPublishedContentValueSetValidator()
Returns
| Type | Description |
|---|---|
| IContentValueSetValidator | An IContentValueSetValidator configured for published content. |