package
0.0.0-20241223090118-035fcd7fed56
Repository: https://github.com/ibiscum/hands-on-software-engineering-with-golang.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Constants

QueryTypeMatch requests the indexer to match each expression term.
QueryTypePhrase searches for an exact phrase match.

# Variables

ErrMissingLinkID is returned when attempting to index a document that does not specify a valid link ID.
ErrNotFound is returned by the indexer when attempting to look up a document that does not exist.

# Structs

Document describes a web-oage whose content has been indexed by Links 'R' Us.
Query encapsulates a set of parameters to use when searching indexed documents.

# Interfaces

Indexer is implemented by objects that can index and search documents discovered by the Links 'R' Us crawler.
Iterator is implemented by objects that can paginate search results.

# Type aliases

QueryType describes the types of queries supported by the indexer implementations.