2023-08-09 11:47:45 +02:00
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Cms.Core.Configuration.Models;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Typed configuration options for index creator settings.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[UmbracoOptions(Constants.Configuration.ConfigIndexing)]
|
|
|
|
|
public class IndexingSettings
|
|
|
|
|
{
|
2023-10-24 14:43:57 +02:00
|
|
|
private const bool StaticExplicitlyIndexEachNestedProperty = false;
|
2023-08-09 11:47:45 +02:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value for whether each nested property should have it's own indexed value. Requires a rebuild of indexes when changed.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DefaultValue(StaticExplicitlyIndexEachNestedProperty)]
|
|
|
|
|
public bool ExplicitlyIndexEachNestedProperty { get; set; } = StaticExplicitlyIndexEachNestedProperty;
|
|
|
|
|
}
|