Dev.to
7/4/2026

Building an Offline Document Search Engine for My University
Short summary
A Turkish university student built an offline document search chatbot that scans regulation PDFs to answer questions deterministically without hallucinations. Uses Python/FastAPI with BM25 search optimized for Turkish language and custom PDF parsing. Open-source and deployable locally—useful as a template for document-search systems in any domain.
- •Offline-first document search for university regulations, avoiding cloud LLM hallucinations
- •Implements custom BM25 search with Turkish-language tokenization and synonym expansion
- •Open-source, deployable locally via Docker; extensible template for document-search applications
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



