Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(HitsTracker): add automatic object ids chunking #284

Merged
merged 2 commits into from May 5, 2023

Conversation

VladislavFitz
Copy link
Contributor

Summary

If hits results page contains more than 20 hits, the hits view events automatically sent by the HitsSearcher are rejected by Insights. This PR adds an automatic chunking of the hits list into chunks of 20 objects to avoid this situation.

Result

All the hits view events are correctly sent even if the page size is bigger than 20 hits.

@mobilealgolia mobilealgolia self-requested a review May 5, 2023 22:19
@VladislavFitz VladislavFitz merged commit 5c1a04a into master May 5, 2023
8 checks passed
@VladislavFitz VladislavFitz deleted the fix/split-objectids-to-chunks branch May 31, 2023 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants