Skip to content

urstrulypavan/MiniSearchEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Mini Search Engine (C++)

A simple Mini Search Engine built in C++, which indexes text files and allows you to search for words across multiple files β€” showing which files contain the word and how many times it appears.

πŸš€ Features

βœ… Reads multiple text files from a folder
βœ… Builds a searchable index of all words
βœ… Case-insensitive search
βœ… Displays how many times a word appears in each file
βœ… Beginner-friendly, uses only C++ STL
βœ… Extendable to more advanced versions (ranking, multi-word search, etc.)

πŸ–ΌοΈ Demo Output

Building search index... Index built successfully! βœ… Total unique words indexed: 7

Enter a word to search (or 'exit' to quit): apple

Results for "apple":

  • file1.txt (2 times)
  • file2.txt (1 times)
  • file3.txt (1 times)

Enter a word to search (or 'exit' to quit): mango

Results for "mango":

  • file2.txt (1 times)

Enter a word to search (or 'exit' to quit): exit

Goodbye! πŸ‘‹

About

A simple Mini Search Engine built in C++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages