FastSearchExtension<T> extension
Lightweight search extension for simple use cases.
Provides fast search without debug capabilities. Use this when you need maximum performance and don't need detailed logging.
Example:
final results = await products.fastSearchExtension<Product>(
query: 'samsung',
searchFieldsMap: {'name': ['nameEn']},
toJson: (p) => p.toJson(),
);
- on
-
- List<
T>
- List<
Methods
-
fastSearchExtension(
{required String query, required Map< String, List< searchFieldsMap, required Map<String> >String, dynamic> toJson(T), Map<String, double> fieldWeights = const {}, double minScore = 0.3, int limit = 10, bool useIsolate = true, bool useDamerauLevenshtein = true, bool useNGram = true}) → Future<List< T> > -
Available on List<
Fast search without debug overhead.T> , provided by the FastSearchExtension extension