torrsearch

package
v0.0.0-...-78dab50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIndex

func NewIndex(torrs []*models.TorrentDetails)
func Search(text string) []int

Types

type Index

type Index map[string][]int

Index is an inverted Index. It maps tokens to document IDs.

func GetIDX

func GetIDX() Index

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL