NewSearcher 创建 Session 搜索器
(config SearcherConfig)
| 23 | |
| 24 | // NewSearcher 创建 Session 搜索器 |
| 25 | func NewSearcher(config SearcherConfig) *Searcher { |
| 26 | return &Searcher{ |
| 27 | store: config.Store, |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | // SearchOptions 搜索选项 |
| 32 | type SearchOptions struct { |