--- title: Index with the BasicHtmlContentInBodyProcessor slug: '2324' canonical_url: https://docs.coveo.com/en/2324/ collection: coveo-for-sitecore-v5 source_format: adoc --- # Index with the BasicHtmlContentInBodyProcessor > **Important** > > The recommended Coveo for Sitecore HTML processor is the `FetchPageContentProcessor` processor. > See [Index page content with the `FetchPageContentProcessor` processor](https://docs.coveo.com/en/2326/) for more details. This method is the simplest way to enable full-text search on Sitecore items. When indexing a Sitecore item, an HTML representation is generated containing the field names and values. This HTML content is then used for full-text search as well as for the Quick view. Note that the basic HTML content processor returns the raw value of a field directly, not the rendered value. > **Important** > > Given the way an item [excerpt](https://docs.coveo.com/en/3310/) is generated, the `BasicHtmlContentInBodyProcessor` requires all valuable Sitecore fields used in the rendering of the Sitecore content item to [be added to the `` fields list](https://docs.coveo.com/en/2566#fields). > The quality of excerpts generated also depends on these fields containing continuous text. ## Configuring the processor . Open the `Coveo.SearchProvider.Custom.config` file in a text editor. By default the file is located in `\website\App_Config\Include\`. . Locate the `coveoPostItemProcessingPipeline` element (see [About the `coveoPostItemProcessingPipeline` pipeline](https://docs.coveo.com/en/2559/)). . Insert the following processor sub-element right under: ```xml ``` . Re-index the Sitecore items. . You can now perform full-text search on this HTML content. ## Options on the processor The following table provides a list of options available on the processor along with their descriptions and example values: |=== | Name | Description | Example value | `IncludeFieldNames` | Whether the field names should be added to the HTML content or not. | `true`/`false` | `IncludeTextFieldsOnly` | Whether to add only plain text fields (type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" fields) in the HTML content (for example, Single-Line Text fields). | `true`/`false` | `FieldsToInclude` | Comma-separated list of fields to include in the HTML representation of items. a| `Name, DisplayName` Leave blank to include all fields. | `TemplatesToInclude` | Comma-separated list of templates whose items the `BasicHtmlContentInBodyProcessor` will be applied to. a| `Sample Item, Device` Leave blank to include all templates. |=== Options can be configured as children of the `` element, like in the following example: ```xml false ```