Matt LuoM
Convex Community10mo ago
4 replies
Matt Luo

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.
bafkreigtly3cofyb2cnoimpl4xlo4izgvj7vty6iceahq64utdpgg5akxy.jpg
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...
Was this page helpful?