Repository navigation
0.2.4
Added
- Large projects are indexed in two passes. First every function gets a vector of its outline (path, name and
signature), about a tenth of the work, so the whole project can be searched after a short wait, in any language the
retriever knows. Then the background process computes the vectors of the whole source between searches, and results
improve as it goes. Results found through an outline are markedby outline.
Changed
- Reading a project writes to the index in batches of 500 files and loads every file's state in one query: reading
about 6,000 files after the first time takes a few seconds instead of half a minute.
Fixed
s1grep stop,statusand searches no longer hang while the background process is busy: it is pinged with a timeout,
andstopends it by force when it does not answer.- The time left for background indexing is measured from its first batch, once enough functions are done, instead of
guessing hours from the first seconds.
Install
Linux (x86-64, glibc 2.38 or newer):
curl -fsSL https://raw.githubusercontent.com/apiservicesac/s1grep/main/install.sh | bashPin this version with --version 0.2.4. Already installed? Update in place:
curl -fsSL https://raw.githubusercontent.com/apiservicesac/s1grep/main/update.sh | bashWindows (x86-64), in PowerShell:
irm https://raw.githubusercontent.com/apiservicesac/s1grep/main/install.ps1 | iexUpdate in place:
irm https://raw.githubusercontent.com/apiservicesac/s1grep/main/update.ps1 | iex