Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 2.12 KB

README.md

File metadata and controls

72 lines (50 loc) · 2.12 KB

Full Text Search On Local Files With Inverted Index

banner

Demo

demo_gif

Features

  • Text extraction from PDFs, Microsoft Word DOCX and text-based formats
  • Disk-persistence of inverted index
  • Validation of inverted index
  • Command-line utility

Setup

Make sure Java is installed on your system, with JAVA_HOME pointing to a JDK installation. You may clone the project from the GitHub repository, and build it with gradlew present in the root of the repository,

$> git clone https://github.com/shubham0204/full-text-search
$> cd full-text-search
$> ./gradlew build

To execute tests,

$> ./gradlew test

To build the fat/uber JAR,

$> ./gradlew shadowJar

Usage

Index

$> java -jar fulltextsearch.jar index build [dir]
$> java -jar fulltextsearch.jar index info [dir]
$> java -jar fulltextsearch.jar index rm [dir]

Use fulltextsearch index --help for description of each command.

Query

$> fulltextsearch query [dir]

Dependencies

Useful Resources