brijesh1123 / search-engine Goto Github PK
View Code? Open in Web Editor NEWThis project forked from deloschang/search-engine
A Search Engine that uses hash tables and linked lists to crawl, index, query written in C
This project forked from deloschang/search-engine
A Search Engine that uses hash tables and linked lists to crawl, index, query written in C
Description: This is a search engine written in C. It includes: 1. Crawler -- crawls web pages recursively with a specified depth 2. Indexer -- creates an inverted index list of words and their occurrences along with the document ID 3. Query Engine -- command-line interface that creates a ranking system and query processor How to build/test/clean: * Run BATS_TSE.sh to build/test/clean crawler/indexer/query engine * To clean the crawler logs and the crawler indexed HTML data, use "make cleanlog" in crawler dir * To clean the indexer logs, use "make cleanlog" in indexer dir Author: Delos Chang Directory Structure: . ├── BATS_TSE.sh ├── crawler_dir │ ├── BATS.sh │ ├── crawler │ ├── crawler.c │ ├── crawler.h │ ├── data │ ├── html.c │ ├── html.h │ ├── Makefile │ ├── README │ └── TESTING ├── indexer_dir │ ├── BATS.sh │ ├── documentation.pdf │ ├── indexer │ ├── indexer.c │ ├── indexer.h │ ├── Makefile │ ├── README │ └── TESTING ├── queryengine_dir │ ├── Makefile │ ├── queryengine.c │ ├── queryengine.h │ ├── queryengine_test.c │ ├── querylogic.c │ ├── querylogic.h │ ├── README.md │ └── TESTING ├── README └── utils ├── file.c ├── file.h ├── hash.c ├── hash.h ├── header.h ├── index.c └── index.h -- For Query Engine -- Functional Credit 1. To exit, type in "!exit" and press enter Refactoring Credit 1. Refactored common definitions and macros to (../utils/header.h) 2. Refactored common index structs to (../utils/index.h) 3. Refactored indexer BATS.sh diff test to BATS_TSE.sh 4. Refactored common idioms in indexer and query engine to ../utils/index.c (i.e. creating a Document Node with X docId and Y frequency, getting a filepath, creating a WordNode)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.