gosh
1.0.0
文本搜索是许多应用程序具有的常见功能。我们通常在Instagram,Twitter或任何社交媒体上使用此功能来通过其帐户用户名,名字或姓氏找到某人。我们使用此功能在Google Maps,(Apple)地图,Waze或任何地图导航中查找地址
在Postgres中实现全文搜索(FTS)类似于使用类似的操作员,即,文本查询文档匹配。在fts中,文本匹配由操作员@@给定<doc_text>作为文档,<query_text>作为查询,例如,<doc_text> @@ <query_text>。


➤ Clone this repo
➤ cd gosh
# setup postgres with dummy data (see: postgres/init.sql)
➤ docker-compose up -d
# install dependencies
➤ go mod tidy
# run backend
➤ go run main.go
# change to frontend
➤ cd gosh
# install dependencies
➤ yarn
# run frontend
➤ yarn dev
# open in browser (http://localhost:5173/) 快速文本搜索以增强坎普斯·梅尔德卡平台的用户体验