Class 'Algolia\HtmlSplitter' not found

Hi. I try integrate Algolia search with wordpress by this manual https://www.algolia.com/doc/integration/wordpress/getting-started/quick-start/?language=php
When I try to add splitting large records, I see error “Class ‘Algolia\HtmlSplitter’ not found in /var/sites/www.kernelcare.com/wp-content/themes/kernelcare/functions.php:84”
Can you give me suggestion please?

Bump. Also not sure where to put this file (as seen here in the guide: https://www.algolia.com/doc/integration/wordpress/advanced/splitting-records/?language=php)

Hey ehovantsev

You need to create a file in your source code with the contents of the file class HtmlSplitter specified in algolia.com/doc/integration/wordpress/advanced/splitting-records/?language=php.

Once you have created the file, go to your functions.php, include the class to perform the split.

Let me know if is not clear, maybe we can improve the documentation.