It's actually not that difficult to write a text database from scratch (without libraries like Lucene). Most text databases are based on inverted indexes at their core.
Implementing basic boolean operators turns out to be pretty easy to implement as well.
It's one of the exercises I like to do when learning a new language. I'd recommend giving it a shot if you haven't tried it before.
It's one of the exercises I like to do when learning a new language. I'd recommend giving it a shot if you haven't tried it before.