vlion: source: lisperati (lisp)
[personal profile] vlion
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.

Date: 2013-03-04 06:01 am (UTC)
From: [personal profile] tamouse
I am not enamoured of any of the desktop solutions for search either. But I've found that I very very rarely seach for content, but instead file names. Thus, mlocate actually fills my needs exceptionally well.

That said, I'd love to see your hacky hack funtiems coding project :)

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

Page generated Jan. 29th, 2026 06:28 am
Powered by Dreamwidth Studios

Expand Cut Tags

No cut tags

Most Popular Tags

Page Summary