bountyhunter 0.1.2+1 bountyhunter: ^0.1.2+1 copied to clipboard
A text search engine
Bounty Hunter #
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.feedDoc( "hello world", "This is a hello world document ... fix");
Search for a document and retrieve the documents containing these words.
hunter.search( "document fix" );
Todo #
- Possibility to add words that can be ignored, like stop words
- Stemming
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 #
Follow us on twitter https://twitter.com/usethedartforce
Google+
Follow us on google+
or join our G+ Community