Documentation
¶
Overview ¶
Package extractor deals with extracting (hence the name - duh!) searchable metadata from the files the Walker has found.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTooLarge = errors.New("File is too large") ErrNoProbe = errors.New("No matching probe was found for the given type") )
ErrTooLarge indicates that a file is too large to be processed. ErrNoProbe indicates we have no probe to get metadata from a file type.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
type Extractor struct {
// contains filtered or unexported fields
}
Extractor wraps the handling of various file types to extract searchable metadata / content from.
func (*Extractor) Process ¶
Process attempts to extract usable information from a file to use in a search index.
Click to show internal directories.
Click to hide internal directories.