This repository was archived by the owner on Jun 25, 2022. It is now read-only.
This repository was archived by the owner on Jun 25, 2022. It is now read-only.
Wrong index inx
info table #2
Description
Line 33
is currently int currentX = X_OFFSET + (3 * searchTextCol * (i + 1));
should become int currentX = X_OFFSET + (3 * (searchTextCol + i * colCount));
or similar.
Here is a sinppet from sqlite docs for matchinfo
hits_this_row = array[3 * (c + p*cols) + 0]
hits_all_rows = array[3 * (c + p*cols) + 1]
docs_with_hits = array[3 * (c + p*cols) + 2]
where column idx c
is searchTextCol
, phrase idx p
is i
and number of cols cols
is colCount
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4