* new: feat: add search support with meilisearch * new: feat: add search interface * new: feat: add new audio mappings * chg: fix: add meilisearch docs * chg: fix: lint issues * chg: feat: add br flag * chg: fix: use the same user agent * chg: fix: bludv (again) * chg: fix: lint issue
21 lines
658 B
Go
21 lines
658 B
Go
package schema
|
|
|
|
import "time"
|
|
|
|
type IndexedTorrent struct {
|
|
Title string `json:"title"`
|
|
OriginalTitle string `json:"original_title"`
|
|
Details string `json:"details"`
|
|
Year string `json:"year"`
|
|
IMDB string `json:"imdb"`
|
|
Audio []Audio `json:"audio"`
|
|
MagnetLink string `json:"magnet_link"`
|
|
Date time.Time `json:"date"`
|
|
InfoHash string `json:"info_hash"`
|
|
Trackers []string `json:"trackers"`
|
|
Size string `json:"size"`
|
|
LeechCount int `json:"leech_count"`
|
|
SeedCount int `json:"seed_count"`
|
|
Similarity float32 `json:"similarity"`
|
|
}
|