Faster searches, and searches that run side by side: keyword scoring and the scan of the vectors' codes run in the
compiled extension, a search reads the rows it needs ahead, and the queries of one MCP call run at the same time. The
store layout is that of 2.0, so stores need no upgrade.
Fixed
- In a terminal that shows colours,
sift workerprinted the colour codes of its hint on where to set
SIFT_EMBED_REMOTEas text (\x1b[2m…\x1b[0m) instead of dimming it. - A store that could not be opened was said to be one that could not be written, with a remedy about read-only
files. It is now said to be one that cannot be opened, and the remedy names the open file limit. - Ctrl+C, or a signal to stop, that reached
sift serveafter it wrote the file saying where it listens but before
it began to answer could end it with exit code 130 or 1, at times leaving that file behind, or leave it hanging. It
now stops as at any other time. - A signal to stop
sift servethat arrived while it was queuing, starting or ending a job could leave it hanging.
Changed
- Semantic and hybrid search scan the vectors' codes in the compiled extension, on all cores and without copying
them: over tens of millions of passages, that part of a search takes about half as long. - Over MCP, the queries of one
searchcall run at the same time instead of one after another, each within the
call's whole budget rather than a share of it, and questions waiting to be embedded reach the model together: a
call of several queries takes about half as long. - A search reads the vectors, passages and texts it needs ahead on a few connections of its own at once, then reads
them in its own transaction: rows not yet in memory are waited for side by side instead of one after another.
The home process keeps at most 32 such connections open at once; a search that finds none free reads as before. - Keyword search scores in the compiled extension, without holding Python's interpreter lock: searches running at
once, such as the queries of one MCP call, no longer wait for each other, and a search spends about half the CPU
time it did. Hits and their scores are unchanged. - On Linux and macOS,
sift serveraises its soft limit of open files to 10,240, or to the hard limit if that is
lower, so that many searches at once over many collections do not run out of files where the default is low, such
as 256 on macOS.