Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 786 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 786 Bytes

search-engine

This is a basic search engine I made for my information retrieval class. It uses flex, a stopwords list, low frequency term filtering, a linear probing hash table for the map file, a linked list for the postings file, and an array accumulator. The weights use the formula: rtf * idf with log base 10.

home results

Dependencies

  • flex
  • php
  • gcc
  • apache

Run

Native

  1. install the dependencies
  2. build and run the index and query files
  3. setup the apache server

Docker or Podman

Docker

docker build -t search_image .
docker run -p 8080:80 --name search_container search_image

Podman

podman build -t search_image .
podman run -p 8080:80 --name search_container search_image