Leveraging Go's concurrency features for efficient inverted index construction and interactive querying.
Simply get the package:
go get github.com/mleef/lpicand then either make to build:
makeor install the binary directly:
go install github.com/mleef/lpicUsage of lpic:
-json
generate additional JSON formatted index file
-raw-tf
use raw term frequency instead of log norm
-num-results int
number of query results to show (default 5)
-num-workers int
number of worker threads (default is number of cores on your machine)
-out-dir string
destination directory of constructed index (default "./")
-out-file string
file name of constructed index (default "index")
-verbose
print verbose progresslpic [optional flags] build [required target root directory to crawl]lpic [optional flags] query [required generated .lpic index file]MIT (see LICENSE file)