bountyhunter 0.1.5 copy "bountyhunter: ^0.1.5" to clipboard
bountyhunter: ^0.1.5 copied to clipboard

outdatedDart 1 only

A text search engine

Build Status

Bounty Hunter #

LOGO!

A full text search engine of unstructured documents. It is base upon a reversed index.

Simple usage #

First create an instance of cargo

Cargo storage = new Cargo(MODE: CargoMode.MEMORY);

Construct an instance of Hunter.

Hunter hunter = new Hunter( cargo );

Feed document into the system so it can be indexed.

hunter.feedDocSync( "hello world", "This is a hello world document ... fix");

You can also feed a document asynchronous and then it will use the asynchronous methods from Cargo.

hunter.feedDoc( "hello world", "This is a hello world document ... fix").then((int docId) {
	// do stuff here!
});

Search for a document and retrieve the documents containing these words.

hunter.search( "document fix" );

Example #

Client Hunter - code

Todo #

  • Possibility to add words that can be ignored, like stop words
  • Stemming for other languages

Contributing #

If you found a bug, just create a new issue or even better fork and issue a pull request with you fix.

Social media #

Twitter

Follow us on twitter

Google+

Follow us on google+

or join our G+ Community

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A text search engine

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

cargo, logging

More

Packages that depend on bountyhunter