Crate merino_suggest_providers
source · [−]Expand description
All of the merino suggestion providers, including tools to make and combine them.
Modules
Tools to build providers from configuration.
Merino providers that aren’t tied to any particular data source.
Helpers to reconfigure a provider and it’s inner providers.
Structs
A provider that gives suggestions base
A toy suggester to test the system.
A suggester that always provides the same suggestion, with a configurable title.
A provider that aggregates suggestions from suggesters that tracks an ID per suggester (or suggester tree).
Metadata about a provider contained in [NamedMulti
];
A combinator provider that filters the results from the wrapped provider using a blocklist from the settings.
A provider that aggregates suggestions from multiple suggesters.
A basic provider that never returns any suggestions.
A provider that runs inner
, but doesn’t return any results.
A combinator provider that returns an empty set of suggestions if the wrapped provider takes too long.
A toy suggester to test the system.
Functions
Recursive helper to build a tree of providers.
Reconfigure providers in place.