Skip to content

A C++ implementation of the Single-Pass In-Memory Indexing (SPIMI) algorithm to build an inverted index from a collection of documents.

Notifications You must be signed in to change notification settings

amjadAwad95/SPIMI-indexing-Algorithm

Repository files navigation

SPIMI Inverted Index Builder

A C++ implementation of the Single-Pass In-Memory Indexing (SPIMI) algorithm to build an inverted index from a collection of documents.

Features

  • Processes all text files in a specified folder.
  • Generates sub-inverted indices based on a maximum term limit.
  • Merges sub-indices using a multiway merging algorithm.
  • Outputs a final inverted index file (invIndex.csv) in CSV format.

Requirements

  • C++17 or newer compiler (e.g., g++, clang++).
  • Standard Library (no external dependencies required).

About

A C++ implementation of the Single-Pass In-Memory Indexing (SPIMI) algorithm to build an inverted index from a collection of documents.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages