Skip to content
This repository was archived by the owner on Nov 2, 2025. It is now read-only.

Astromis/SearchEngine

Repository files navigation

SearchEngine

A simple search engine on C++, that will be a core of the future project.

Now it supports creating an inverted index and interface for it, including BM25 ranking. There is a SWIG wrap for the python as well.

Basic usage:

#include "InvertIndex.h" 

int main()
{
    InvertIndex inv("/home/your_username', "txt");
    inv.build_index();
    for(auto& i:  inv.find(vector<string> {"int", "#include" }))
        cout<<i.first<<" "<<i.second<<endl;
}

About

A simple search engine on C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published