Interface IContentIndexHandler
A handler that appends field values to the Delivery API content index.
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public interface IContentIndexHandler : IDiscoverable
  Methods
View SourceGetFields()
Returns the field definitions required to support the field values in the index.
Declaration
IEnumerable<IndexField> GetFields()
  Returns
| Type | Description | 
|---|---|
| IEnumerable<IndexField> | The field definitions.  | 
      
GetFieldValues(IContent, String)
Calculates the field values for a given content item.
Declaration
IEnumerable<IndexFieldValue> GetFieldValues(IContent content, string culture)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IContent | content | The content item.  | 
      
| System.String | culture | The culture to retrieve the field values for (null if the content does not vary by culture).  | 
      
Returns
| Type | Description | 
|---|---|
| IEnumerable<IndexFieldValue> | The values to add to the index.  |