Lightweight Lucene indexing and searching for TREC format data.
-
git clone https://github.com/csarron/LuceneTrec.git -
./gradlew b, then distributable files are inbuild/distributions/ -
unzip -o build/distributions/LuceneTrec-0.3.zip
-
Building indices to
samples_idxfolder using the data fromsamples:LuceneTrec-0.3/bin/LuceneTrec index samples samples_idx -
Searching 'Anarchism' in
samples_idx:LuceneTrec-0.3/bin/LuceneTrec search samples_idx 'Anarchism' -
LuceneTrec-0.3/bin/LuceneTrec -hfor more usage.