Class IndexingSettings
Typed configuration options for index creator settings.
Inheritance
object
Namespace: Umbraco.Cms.Core.Configuration.Models
Assembly: Umbraco.Core.dll
Syntax
[UmbracoOptions("Umbraco:CMS:Indexing")]
public class IndexingSettings
Constructors
View SourceIndexingSettings()
Declaration
public IndexingSettings()
Properties
View SourceBatchSize
Gets or sets a value for how many items to index at a time.
Declaration
public int BatchSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
This is the primary lever for the peak memory used while (re)building an index: a full page of content and its property data is held in memory at once, so lowering this value reduces rebuild memory at the cost of more, smaller batches. Lower it on very large sites that hit memory pressure during a rebuild.
ExplicitlyIndexEachNestedProperty
Gets or sets a value for whether each nested property should have it's own indexed value. Requires a rebuild of indexes when changed.
Declaration
public bool ExplicitlyIndexEachNestedProperty { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |