Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BleveSearch ¶
type BleveSearch struct {
// contains filtered or unexported fields
}
NewBleeveSearch is used to represent internals of bleve.
func NewBleveSearch ¶
func NewBleveSearch(dbPath string) (*BleveSearch, error)
NewBleeveSearch constructs a new bleeve search engine.
type IndexSearcher ¶
type IndexSearcher interface { Index(item IndexItem) error Search(ctx context.Context, query string, size, currentPage int, searchType Type) ([]string, error) Close() error }
IndexSearcher provides searching and indexing functionality.
Click to show internal directories.
Click to hide internal directories.