chethanMysore / info-retrieval-system

A java console application to index and search through files and directories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Information Retrieval System

This is a console java application which indexes files and directories and allows users to execute boolean queries on them.

Requirements

  • jdk(version 8 or higher)
  • JAVA_HOME environment variable set to <path_to_jdk>
  • maven(version 3 or higher)

Building Maven Dependencies

Compile Resources

Gathers dependencies specified in pom.xml and create classpaths for it. This also creates .class files from source .java files.

mvn compile

Build Package

Creates jar from the compiles class files.

mvn clean package

Execute jar

Run jar with path to a directory or a file to be indexed as an argument.

java -jar ./template/informationRetrievalSystem.jar <path_to_directory_or_file>

Sample Results

Sample Results

About

A java console application to index and search through files and directories


Languages

Language:Java 100.0%