News for hackers. Stuff that matters.
Re:Building a full-text search engine in 150 lines of Python... by bartdegoede on Thursday March 25, 2021 @03:19PM (#26584260)
The idea was to illustrate the concepts of an inverted index and tf-idf :-) I've built some stuff like this for a smaller project written in Python because it was Easier™ than spinning up an Elasticsearch cluster (ie it definitely didn't need to scale :-D)
Re:Building a full-text search engine in 150 lines of Python... by sodapopcan on Thursday March 25, 2021 @04:06PM (#26584746)
Yes, I've been really interested in FTS recently and love articles like this. I'm currently implementing a paired-down version myself in Elixir because I'm searching one "table" (not postgres) and I don't want to bring in external dependencies for it.