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/) 快速文本搜索以增強坎普斯·梅爾德卡平台的用戶體驗