The developer tested a lexical search system for local files using Python and SQLite with FTS5 and bm25. The project aimed to determine if semantic embeddings were necessary for file retrieval. The hardware setup included an Intel i3-1115G4 processor with 2 cores and 8 GB of RAM, excluding the use of GPUs or heavy local LLMs.
The evaluation used a frozen dataset of 27 query-to-file pairs from a folder containing 358 files. The performance goal was set at an 80% recall@3 threshold. The system achieved a 74% recall rate, failing to meet the predefined gate. The developer identified 7 failures caused by cross-language naming and semantic gaps.
The project was halted after the initial evaluation. The developer opted against further weight tuning to avoid overfitting the small dataset. A planned implementation of the multilingual-e5-small model on ONNX int8 was canceled, as the developer established a rule to abandon the vector layer if performance gains were less than 5 percentage points.
The source code and methodology are available on GitHub under the MIT license. The developer noted that the 74% result has a statistical confidence interval ranging from 55% to 87%, making the distinction between the result and the 80% threshold statistically insignificant.






