ducene 0.4.0 copy "ducene: ^0.4.0" to clipboard
ducene: ^0.4.0 copied to clipboard

outdatedDart 1 only

An instant search library for Dart.

ducene #

An instant search library for Dart.

Pub Build Status License

Demo #

Pub Search : ducene + angular2 + firebase. The loading takes 15+ seconds.

Usage #

A simple usage example:

Future main() async {
  // open an index holder
  IndexHolder index = await DirectoryHolder.open(new RAMIndexHolderDirectory());
  // prepare documents
  List<Document> docs = [new Document()...];
  // add or update documents
  await index.updateDocuments(docs);
  // open a searcher
  IndexSearcher searcher = await index.newIndexSearcher();
  // count by query
  int count = await searcher.count(new BoolQuery()...);
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

An instant search library for Dart.

Homepage

License

unknown (LICENSE)

Dependencies

firebase, sembast

More

Packages that depend on ducene