cutOffHitArray doesn't count words. Maybe add a little buffer (cutOff calculation + 5 hits?)
- In the
joinOverlappingPadding, go through all words from after the cutOffHitArray-process and then count and cut off?
Maybe also manage to count query hits that are neighbours and only counts as one row in the array.
cutOffHitArraydoesn't count words. Maybe add a little buffer (cutOff calculation + 5 hits?)joinOverlappingPadding, go through all words from after thecutOffHitArray-process and then count and cut off?Maybe also manage to count query hits that are neighbours and only counts as one row in the array.