The problem
The built-in file search on most operating systems is slow, misses content inside files, and gives up on large drives. Power users end up memorizing folder paths. This project builds a proper desktop search engine: an indexer that walks the user's chosen folders and records every file's name, path, size, dates and — for text formats — its content into a local SQLite database with full-text search; a file-system watcher that updates the index incrementally when files are created, renamed or deleted; and a search UI that returns ranked results in milliseconds with matched terms highlighted and a content preview pane showing the surrounding lines. The demo scenario — finding an invoice across 84,000 indexed files in 0.04 seconds — shows what an index buys over a directory walk. Everything runs locally; no data leaves the machine.
Types a query, filters by type and scope and opens results straight from the preview pane.
Follow the working sequence
How it works
- The user selects folders to index; the crawler walks them once (full scan) and records name, path, size, dates and extracted text into SQLite FTS tables.
- A file-system watcher subscribes to change events in the indexed folders and applies incremental updates — adds, renames, deletes — to the index.
- A query is tokenized and run against the full-text index; filename matches rank above content matches, recency breaks ties.
- Results render with the matched terms highlighted in both filenames and content snippets.
- Selecting a result shows the preview pane: file metadata plus the matched lines with surrounding context.
- Quick actions open the file in its default app, reveal it in the file manager, or copy its path.
- A nightly full scan (optional) reconciles anything the watcher may have missed, e.g. while the app was closed.
Tech stack:
- Desktop: Python (PyQt/Tkinter) or Electron + Node.js
- Index: SQLite with FTS5 full-text search
- File watching: OS-native APIs (inotify / ReadDirectoryChangesW / FSEvents)
- Text extraction: pdfminer/pypdf, python-docx for document content
- Ranking: BM25 (built into SQLite FTS5) with filename boost
- Packaging: PyInstaller / Electron Builder notes
| Parameter | Value |
|---|---|
| Index engine | SQLite FTS5, local only |
| Query latency | Sub-second on approximately 84k files (design target) |
| Content formats | .txt, .md, .pdf, .docx, source code |
| Index updates | Incremental via file watcher + optional nightly rescan |
| Demo index | 84,213 files, approximately 96 MB index |
| Ranking | BM25 with filename-match boost |
Project features
- [Instant indexed search] Sub-second results across tens of thousands of files via a local SQLite full-text index — no directory walking at query time.
- [Content search] Searches inside .txt, .md, .pdf, .docx and source-code files, not just filenames, with matched lines shown in context.
- [Live file watching] OS file-system events update the index incrementally — renames and deletions reflect immediately without a rescan.
- [Highlighted previews] Content preview pane with matched terms highlighted and surrounding lines for context.
- [Type & scope filters] Filter by documents, images, videos, code or content-match, and scope to chosen folders.
- [Index dashboard] Indexed locations, file counts, index size and last-scan time, with per-folder inclusion controls.
- [Quick actions] Open file, reveal in folder, or copy the full path straight from the results.
What is included
- Complete desktop application source code (UI + indexer + watcher)
- SQLite FTS5 schema and indexing pipeline
- Search UI with highlighting and content preview
- Index dashboard with location management
- Packaging notes (installer build steps)
- Project report PDF (background, indexing architecture, FTS design, methodology)
- PPT presentation for final review
- Viva Q&A preparation document (inverted indexes, FTS5/BM25, file-watching APIs)
Limitations & prerequisites
- The sub-second query figure is a design target on the developer's test corpus (84k files), not a guaranteed latency on all hardware.
- Content extraction covers common text formats; scanned-image PDFs need OCR, which is listed in future scope.
- The index is per-machine and per-user; network shares are indexed only if explicitly added and can be slow on first scan.
- Encrypted or permission-restricted files are skipped by the crawler and noted in the log.
- Real-time watching depends on OS event APIs; changes made while the app is fully closed are picked up at the next scan.
Frequently Asked Questions
Why is it faster than normal file search?
Normal search walks directories at query time. SwiftFind-style indexing walks once, stores everything in a SQLite full-text index, and queries the index — which is why 84,000 files answer in milliseconds.
What does content search cover?
Plain text, Markdown, PDFs, Word documents and source-code files. Matched lines show with the search terms highlighted and surrounding context in the preview pane.
How does the index stay current?
A file-system watcher receives OS events for creates, renames, moves and deletes in indexed folders and updates the index incrementally — no rescan needed for everyday changes.
Does any data leave my computer?
No. The index is a local SQLite file, search runs locally, and there is no account, cloud sync or telemetry in the design.
How big does the index get?
Roughly proportional to indexed text — the demo's 84,213 files produced about a 96 MB index. Filenames-only mode (content indexing off) keeps it much smaller.
Is this project suitable for a final-year project?
Yes — for Computer Science and IT programs. Indexing, full-text search with BM25 ranking and OS file-watching are substantial, viva-friendly computer-science topics. Suitable for B.E./B.Tech final-year projects in Computer Science and IT.
Components & software requirements
- Desktop: Python (PyQt/Tkinter) or Electron + Node.js
- Index: SQLite with FTS5 full-text search
- File watching: OS-native APIs (inotify / ReadDirectoryChangesW / FSEvents)
- Text extraction: pdfminer/pypdf, python-docx for document content
- Ranking: BM25 (built into SQLite FTS5) with filename boost
- Packaging: PyInstaller / Electron Builder notes
Delivery information
Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.
Support terms
Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.
Download free synopsis (PDF)
Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.