3 ms·
Is there indication when the result list for a given query is 'complete'? Otherwise if the search result don't look like what the person wanted, how long shoul
by degenerate 10y ago
Is there indication when the result list for a given query is 'complete'?
Otherwise if the search result don't look like what the person wanted, how long should they wait to see if it pops in? Until the whole DB is downloaded?
- ORioN63 10y agoI'm guessing, since the DB is just a torrent, you can check if it's complete. In fact if you check the gif in the post, you can see after the DB's name, it shows how much % it downloaded. So, there's your answer. When you get to 3 digits, you could be sure that no new results are going to show up. (I think...)
- sktrdie 10y agoAuthor here. Yes the SQLite engine returns an SQLITE_OK value when the query is complete, just like if it were a database file on disk. The insight here is that we can tell SQLite (via VFS) to talk torrent-pieces rather than disk-pages, so we can essentially query torrents (torrents containing an SQLite database) on demand.