Skip to content

A search engine written in Dart, executable in the browser or on the server

License

Notifications You must be signed in to change notification settings

ForceUniverse/bountyhunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A search engine written in Dart, executable in the browser or on the server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages