vlion: source: lisperati (lisp)
One thing I regularly want is a search tool for *my* needs. The OSX one (spotlight) is a bit slow and often doesn't do what I want. I haven't found one I'm happy with for Linux.

So I sat down this evening and hacked together some Common Lisp/SQLite to start this. At present it's a bit mindless but I can query for particular phrases. I need to add in stemming rules.

It's a good hack project. Not too complicated, but interesting enough I don't feel that I'm wasting my time. It's also extremely well-defined IMO.

My goal is to provide a separate system that'll be like `locate`, but will be "search 'token'". Depending on the SQLite syntax is, I might be able to swing regexes or LIKE queries as well. Otherwise I'll just have to implement some peculiar stemming rules in order to handle tokens of interest.

TODO:

- Add in directory walking and insertnig

- Factor search code out into the client tool.

Profile

vlion: cut of the flammarion woodcut, colored (Default)
vlion

May 2019

S M T W T F S
   1234
567891011
12131415161718
19 202122232425
262728293031 

Style Credit

Syndicate

RSS Atom
Page generated Jun. 10th, 2025 09:35 am
Powered by Dreamwidth Studios

Expand Cut Tags

No cut tags

Most Popular Tags

Page Summary

OSZAR »