Documentation
¶
Index ¶
Constants ¶
View Source
const DbFileName = "filesIndex.db"
Variables ¶
This section is empty.
Functions ¶
func NewSearchEngine ¶
func NewSearchEngine(opts ...Option) *sqliteFilesSearchEngine
Creates a new SQLite backed search engine for files and folders
Types ¶
type SearchIndexRecord ¶
type SearchIndexRecord struct { gorm.Model ItemName string `gorm:"index:idx_name_path_bucket,unique"` ItemExtension string `gorm:"size:10"` ItemPath string `gorm:"index:idx_name_path_bucket,unique"` ItemType string BucketSlug string `gorm:"index:idx_name_path_bucket,unique"` DbId string `gorm:"index"` }
Click to show internal directories.
Click to hide internal directories.