https://sqlite-utils.datasette.io/en/stable/cli.html#creating-indexes
sqlite-utils insert test.db oldata data\processed\ol_dump_editions_2024-07-07.txt --csv --delimiter=";" --quotechar="|"
sqlite-utils enable-fts test.db oldata title isbn
sqlite-utils search test.db oldata SEARCHTERM -c title -c isbn --limit 5
sqlite-utils search test.db oldata SEARCHTERM -c title -c isbn --sql
This should be able to be dockerized, from start to finish.
could this be the same step as processing? Yes, we really don't need to be creating a separate csv file before inserting into db.
sqlite-utils optimize test.db