mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-04 15:42:44 +08:00
config bleve
This commit is contained in:
@@ -15,6 +15,7 @@ import (
|
||||
sr "github.com/lzh-1625/go_process_manager/internal/app/search"
|
||||
logger "github.com/lzh-1625/go_process_manager/log"
|
||||
gse "github.com/vcaesar/gse-bleve"
|
||||
// gse "github.com/lzh-1625/gse-bleve"
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -27,7 +28,7 @@ type bleveSearch struct {
|
||||
|
||||
func (b *bleveSearch) Init() error {
|
||||
opt := gse.Option{
|
||||
Dicts: "embed, zh",
|
||||
Dicts: "embed, zh_s",
|
||||
Stop: "",
|
||||
Opt: "search-hmm",
|
||||
Trim: "trim",
|
||||
|
Reference in New Issue
Block a user