Documentation ¶
Index ¶
- func Cap(l1 *list.List, l2 *list.List) *list.List
- func CompareLists(t *testing.T, expected *list.List, actual *list.List)
- func Cup(l1 *list.List, l2 *list.List) *list.List
- func Invert(l *list.List, all *list.List) *list.List
- func SliceToList(slice []DocID) *list.List
- type DocID
- type Index
- type Indexer
- type InvertIndex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SliceToList ¶
Types ¶
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
func NewIndexer ¶
func NewIndexer(decoder decoding.Decoder, normalizer normalizing.Normalizer, config *config.Index) *Indexer
func (*Indexer) IndexFiles ¶
func (i *Indexer) IndexFiles(filePaths []string) (InvertIndex, error)
type InvertIndex ¶
Click to show internal directories.
Click to hide internal directories.