~/lightning

How to build a Code Search Engine

Lightningat PyCon India 2020 · 2020-10-02..10-05· [python]
name:Bhanu
links:none on file
slides:none on file

A lightweight code search engine for small teams indexes GitLab projects, extracts every Python function with name, docstring, function and method calls, splits snake_case and CamelCase tokens, concatenates them into a document and builds a TF-IDF matrix so queries match at function granularity. A simple UI submits projects for indexing and returns repository links plus code snippets so teams find exact YAML or Python snippets quickly. Implementation is practical and demonstrated working on real repos as a prototype.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.