This is a search engine web application built using Flask that allows searching over 56,000 websites.
- Comprehensive Search: Search across a vast database of 56,000 University of California, Irvine webpages.
- User-Friendly Interface: Intuitive and easy-to-use interface for efficient searching.
- Fast and Reliable: Optimized for quick and accurate search results.
- Document Indexing: Indexes documents and creates an inverted index for efficient search retrieval.
- Summarized Results: Retrieves document summaries using the OpenAI API for quick content insights.
- Clone this repository to your local machine:
git clone <repository_url>
- Install the required dependencies:
pip install Flask
pip install beautifulsoup4
- Create inverse index for the search engine :
python app.py index
- Run the application:
python app.py
- Visit
http://localhost:5000/
in your web browser. - Enter a search query in the input field and click on the Search button.
- The top five search results will be displayed along with the time taken for the query.
app.py
: Contains the Flask application code.engine.py
: Contains the engine and indexer classes.templates/index.html
: HTML template for the user interface.