/mojave

An Inverted index in c++

Primary LanguageC++

Mojave

A hand made inverted index engine.


Build

  • CMAKE VERSION 3.13 is REQUIRED
  • Unix/Liux is required, Windows is not supported
$ cmake .
$ make

Usage

Just use command line and move your fingers.

  • Create a index
$ ./mojave create [-I filename...] [-S stopword-file] [-O outputfile](optional) [-Q1](optional)
  • Search a string from a index
$ ./mojave find [-I filename] [-s string]
  • Consistent query
$ ./mojave watch [-I filename] [-F stanard-query-file](optional)

Standard Search File Example:

apple
world
yuki
katana
jinja
hanas
\q