This is a search engine built on the full English corpus of wikipedia (~75GB)
- myWikiIndexer.py - File containing all functions related to XML parsing and text preprocessing, the code for indexing.
- k-way-merge.py - File with functions related to k-way mergesort algorithm and creates secondary index.
- search.py - Main file containing all the code for Query Processing
- index - Initial index gets created here
- finalIndex - They get merged here and also stored secondary index in this directory
- stopwords.txt - A txt file containing all the stop words in the current directory of the code
- wiki_dump.xml - The XML file containing the full data of wikipedia
- Run myWikiIndexer.py with path to dump and folder to index as command line arguments.
- Run k-way-merge.py - Will sort the index and create secondary index
- Run search.py - An infinite loop runs expecting queries.