elasthink
1.0.0
用GO編寫的Elasticsearch Engine的替代方案,用於使用倒置索引來構建索引並利用Redis存儲索引的少量文檔。
document_type , document_id和document_name )document_type , document_id和document_name )document_type和search_term )document_type和keyword_prefix ) 即將推出!
使用SDK,您可以通過提供REDIS連接並不設置專用的Elasthink服務器來從GO服務中運行Elasthink的所有核心功能。
目前,SDK正在準備發布。因此,請繼續關注以獲取最新更新。
$ go get github.com/SurgicalSteel/elasthinkfiles/config/redis文件夾中的每個環境中指定您的redis地址entity/document.go module/document.go的文檔類型const。$ go build$ ./elasthink -h$ ./elasthink -env={your-environment} -swr={stopword Removal option (true/false)} ,您的elasthink Web服務應在localhost:9000 API文檔(失眠格式)可在elasthink_insomnia_api_documentation.json中獲得。您可以使用失眠症客戶端打開它
對於代碼文檔,我們將標準GoDoc作為我們的代碼文檔工具。要查看代碼文檔,請執行以下步驟:
godoc -http=:6060 (這將觸發6060港口的Godoc)http://127.0.0.1:6060/pkg/github.com/SurgicalSteel/elasthink/ 電子書重新行動中的第2部分第7章
當前,Elasthink在執行文檔名稱和搜索術語的令牌化時支持刪除選項。但是,目前,我們只支持刪除印度尼西亞巴哈薩(印度尼西亞)的停止詞。