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

Dart 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
30
pub points
0%
popularity

Publisher

unverified uploader

An instant search library for Dart.

Homepage

License

BSD-3-Clause (LICENSE)

Dependencies

bit_set, firebase, lzma, sembast

More

Packages that depend on ducene