If you’re using the Algolia Crawler and a record exceeds its size limit,
use the
helpers.splitContentIntoRecords() helper to split the page into smaller records.Example records for a long page
Each record includes page-level and section-level attributes, such aspage_id, title, section, url, and content.
Page-level records can omit section.
JSON
Deduplicate records in search results
A single query might return more than one record from the same page. To show only the best matching record for each page, setattributeForDistinct to page_id and enable distinct.
Algolia groups records with the same page_id and returns the best matching record from each group.
For more information, see Results deduplication with distinct.