DVDeferredSearchProvider<T> class

A model's keyword search, looked up when a query runs.

The generated useSemanticSearch hands this to the index rather than the provider itself, because useSearchProvider may be called after it, and an index holding the provider of the moment it was built would keep searching the unconfigured one. Framework machinery: not in the barrel an application imports.

Implemented types

Constructors

DVDeferredSearchProvider(DVSearchProvider<T, Object?> current())
const

Properties

current → DVSearchProvider<T, Object?> Function()
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(String query, {Object? facets, int page = 1, int perPage = 20}) → Future<DVSearchResultPage<T>>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited