Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ahhh, interesting point.

"We could learn advanced regexes... or we could just use FTS5".

Hard call. :)



Maybe! Full-text search is great for text. Command lines have some things in common with text, but they definitely aren't normal text. E.g., punctuation is much more significant. Stemming may not be appropriate. Case matters. Word boundaries are different, and many of the significant lumps aren't really words.


Well, I suppose what's trivial for me might be advanced for you :)


For regexes, definitely. ;)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: