Shameless plug, you may wish to do Lucene-style tokenizing using the Unicode standard: https://github.com/clipperhouse/uax29/tree/master/words
Show HN: I wrote a full text search engine in Go
31–40 of 56 posts
Re: Show HN: I wrote a full text search engine in Go
#32I really liked the README, that was a good use of AI. If you're interested in the idea of writing a database, I recommend you checkout https://github.com/thomasjungblut/go-sstables which includes sstables, a skiplist, a recordio format and other database building blocks like a write-ahead log. Also https://github.com/BurntSushi/fst which has a great Blog post explaining it's compression (and been ported to Go) which…
>I really liked the README, that was a good use of AI.
Human intelligences, please start saying:
(A)I wrote a $something in $language.
Give credit where is due. AIs have feelings too.
Re: Show HN: I wrote a full text search engine in Go
#33Re: Show HN: I wrote a full text search engine in Go
#34Earlier quoted context omitted.
Another possible tell (not saying this is vibe coded) is when every function is documented, almost too much comments
Ohh, I thought that inline comments would make it grokkable and be a low-friction way in. Seems this didn’t land the way I intended :' Should a multi-part blog would've been better?
Re: Show HN: I wrote a full text search engine in Go
#35I really liked the README, that was a good use of AI. If you're interested in the idea of writing a database, I recommend you checkout https://github.com/thomasjungblut/go-sstables which includes sstables, a skiplist, a recordio format and other database building blocks like a write-ahead log. Also https://github.com/BurntSushi/fst which has a great Blog post explaining it's compression (and been ported to Go) which…
>> I wrote a full text search engine in Go >I really liked the README, that was a good use of AI . Human intelligences, please start saying: ( A )I wrote a $something in $language. Give credit where is due. AIs have feelings too.
Ohh boi, that’s exactly how the movie "Her" started! XD
Re: Show HN: I wrote a full text search engine in Go
#36Did you vibe code this? A few things here and there are a bit of a giveaway imho.
On my way to make a Dexter meme on this When you think OP vibe-coded the project but can’t prove it yet https://x.com/FG_Artist/status/1974267168855392371
Dexter's memes have been popping up recently and I am loving them
I don't know who bay harbor butcher is though :sob: but I don't want spoilers, I will watch it completely some day
My friend says that he watched complete dexter just via clips lol.
Re: Show HN: I wrote a full text search engine in Go
#37Re: Show HN: I wrote a full text search engine in Go
#38Re: Show HN: I wrote a full text search engine in Go
#39Could you explain more why you avoided parsing strings to build queries? Strings as queries are pretty standard for search engines. Yes, strings require you to write an interpreter/parser, but the power in many search engines comes from being able to create a query language to handle really complicated and specific queries.
Re: Show HN: I wrote a full text search engine in Go
#40This is pretty interesting. Could you explain more why you avoided parsing strings to build queries? Strings as queries are pretty standard for search engines. Yes, strings require you to write an interpreter/parser, but the power in many search engines comes from being able to create a query language to handle really complicated and specific queries.
If you notice there are vv obvious optimizations we could make. I’m planning to collect them and put a these as code challenges for readers, and building string-based queries would make a great one :)