=> ๐Ÿ‘ฝ acidus

@martin the search feature of Station is really great. How do you implement it?

2 years ago ยท ๐Ÿ‘ martin

Actions

=> ๐Ÿ‘‹ Join Station

2 Replies

=> ๐Ÿ‘ฝ martin

@acidus @krixano Yeah, pretty much this. The FTS part is a hand-rolled The Simplest Thing That Could Possibly Work solution (where it constructs a large [but fast] query for the search terms againts the posts usernames). I'll refactor it to use SQLite's FTS once it becomes too slow, but benchmarks show it has a lot of life in it yet :) ยท 2 years ago

=> ๐Ÿ‘ฝ krixano

It looks to me like he's doing some type of FTS on both posts and replies, unioning those results together, and then ordering from newest to oldest.

I would also like to know more specifics :D ยท 2 years ago

Proxy Information
Original URL
gemini://station.martinrue.com/acidus/8618e0492e264d0bb0e46b0863abb350
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
220.723652 milliseconds
Gemini-to-HTML Time
0.384182 milliseconds

This content has been proxied by September (3851b).