SearchResults

data class SearchResults(val items: List<Long>, val people: List<Person> = emptyList(), val textMatches: List<Long> = emptyList(), val smartMatches: List<SmartHit> = emptyList(), val unnamedSubject: Person? = null)(source)

Constructors

Link copied to clipboard
constructor(items: List<Long>, people: List<Person> = emptyList(), textMatches: List<Long> = emptyList(), smartMatches: List<SmartHit> = emptyList(), unnamedSubject: Person? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Every match, best first, each once: the list to show.

Link copied to clipboard

People whose names match the query: show them as a row above the results.

Link copied to clipboard

Smart Search's matches, with scores and, for videos, the moment that matched.

Link copied to clipboard

Items whose text (read in them) matches.

Link copied to clipboard

A person not named yet who is in most of the best matches: offer to name them.