|
|
|
|
|
by emmanueloga_
735 days ago
|
|
Hey there, Took me really long to understand what this is... let me see if I get it right: * You scrape rubyweekly.com into Sqlite entries. * You provide a simple search engine on top of that. 1) Less is more, you can simply state that on your page ("Search an index of scraped rubyweekly articles). 2) If I get it right you are doing regex match for keywords, but maybe you could rely on FTS5 since you are using Sqlite, you may be able to get better results faster, maybe with less code? ([1] random article I found about rails+FTS5). Cheers! -- 1: https://mariochavez.io/desarrollo/2023/09/01/full-text-searc... |
|
--
1: https://github.com/nextapps-de/flexsearch