aboutsummaryrefslogtreecommitdiff
path: root/wqflask/scripts/index.py
AgeCommit message (Collapse)Author
2022-09-29Open xapian database once, but SQL database once for each query.Arun Isaac
We reopen the SQL database once for each query because it times out if kept waiting. * wqflask/scripts/index.py (main): Open xapian database once, but SQL database once for each query.
2022-09-29Abstract out writing documents into a xapian database.Arun Isaac
* wqflask/scripts/index.py (write_document): New function. (main): Use write_document.
2022-09-26Add indexing script for global search.Arun Isaac
* wqflask/scripts/index.py: New file.