Matt Luo
Matt Luo2w ago

matthewluo.com personal website for Convex experimentation and blog for Matt Luo

My first Convex R&D effort: Using Convex full text search, I built my own snippeting and highlighting for the search results. https://www.matthewluo.com/search/blog The search scope is the articles in my personal website. Let me know if you'd like me to write about how I did this in a Stack post. Details The search bar searches through articles' content, not just the title and description. The significance of full text search is that the search finds partial matches of text (rather than an exact match on a scope of text). A snippet of the article's content will appear, giving you context of where your search term appears in the article. I coded this feature myself. A snippet is not part of the Convex FTS functionality. The search term will be yellow highlighted within the snippet of the search result. That makes it easy for you to skim to see why a search result returned. Highlighting is not part of the Convex FTS functionality.
Matt Luo, creator of ClarityText, a messaging app for business comm...
I'm Matt, a software app developer based in Boston. I'm the founder of Crystal TXT, an app dev studio. It builds messaging apps for evergreen use cases like professional networking and language learning. The flagship app is ClarityText, a messaging app for business communities. Its mission is to be the most useful hub for growing professional re...
No description
3 Replies
Matt Luo
Matt LuoOP2w ago
In the Search Blog Articles UX, I just added filtering in the search UX for the last modified date. Interesting observation about Convex: the withSearchIndex() only supports equality expressions, and does not support an inequality expression like date comparison. So, to code this, I used the full text search on my column, searchableArticleUnit, and then applied an if() based filter for each returned item.
Wayne
Wayne2w ago
Clean blog and the search feature is slick. Is the entire site on Convex?
Matt Luo
Matt LuoOP2w ago
The article content you see in an article URL, e.g. https://www.matthewluo.com/articles/why-create-claritytext is in MDX files. But the article content you see in the search engine results page is in the Convex database.
Why create ClarityText? - Matt Luo
Would it become mainstream for businesses to group message with a fandom?

Did you find this page helpful?