lunr 2.3.10
lunr: ^2.3.10 copied to clipboard
A bit like Solr, but much smaller and not as bright (dart port of lunrjs.com)
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add lunrWith Flutter:
$ flutter pub add lunrThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
lunr: ^2.3.10Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:lunr/lunr.dart';