Crate imdb_index

Source
Expand description

This crate provides an on-disk indexing data structure for searching IMDb. Searching is primarily done using information retrieval techniques, which support fuzzy name queries and using TF-IDF-like ranking functions.

Structs§

AKA
A single alternate name.
AKARecordIter
An iterator over AKA records for a single IMDb title.
Episode
A single episode record.
Error
An error that can occur while interacting with an IMDb index.
Index
An index into IMDb titles and their associated data.
IndexBuilder
A builder for opening or creating an Index.
MediaEntity
A media entity is a title with optional episode and rating records.
NameQuery
A query for searching the name index.
Query
A query that can be used to search IMDb media records.
Rating
A rating associated with a single title record.
Scored
Any value associated with a score.
SearchResults
A collection of scored values, sorted in descending order by score.
Searcher
A handle that permits searching IMDb media records with relevance ranking.
Title
An IMDb title record.

Enums§

ErrorKind
The specific kind of error that can occur.
NameScorer
The type of scorer that the name index should use.
NgramType
The style of ngram extraction to use.
Similarity
A ranking function to use when searching IMDb records.
TitleKind
The kind of a title. These form a partioning of all titles, where every title has exactly one kind.

Type Aliases§

Result
A type alias for handling errors throughout imdb-index.