Those solutions sound a little hackish, so I'd rather migrate to a proper DBM. Next question is, will a light one work for keyword and phrase searching (sub-word accuracy probably isn't necessary, though it would be nice) or would I need an industrial-grade one? Python's anydbm module looks pretty useless, so I'm hoping SQLite or something else that uses files/libraries rather then servers/daemons will do the job.