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.
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.