Skip to content

m7md-arwani/-Simple-Search-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Simple-Search-Engine

Description

This project searches a text file that contains three fields in each line. An example would be

"Mohammad Arwani [email protected]" .The program will search through the file using the algorithm of choice. Three algorithms are available, ANY, NONE, ALL.

Usage

Explaining the arguments

--data

this Main argument, and is responsible for specifying the text file to be searched within. For example, java --data text.txt

1- Find a person

The user will be prompt to choose from three different algorithms "ANY, NONE, ALL"

ALL, the program should print lines containing all the words from the query.

ANY, the program should print the lines containing at least one word from the query.

NONE, the program should print lines that do not contain words from the query at all.

2- Print all people

Will print everything available in the text file.

0- Exit

Will close the program.

Credits

This program is based on the Encryption-Decryption project on Jet Brains Academy.

About

Simple Search Engine in java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages