Content element indexer
The content element indexer creates one Algolia record per content element. This gives more precise results than page records and keeps records small on pages with a lot of content.
Which content element types are indexed is set with Content element types.
Fields
In addition to the standard fields, the content element indexer sends:
| Field | Description |
|---|---|
site | The domain of the page's site. |
url | The URL of the page with an anchor to the content element
(#c<uid>), if the page belongs to a site. |
The mapped content element fields default to:
Default field mapping of the content element indexer
module.tx_typo3searchalgolia.indexer.tt_content.fields {
header = title
subheader = subTitle
bodytext = description
}
Copied!
The same mapping is used for the content field of the
page indexer when content elements are
included in page records.