This pull request introduces an additional step to `SemanticIndex::search_project` that includes the content of buffers that are modified but haven't been saved yet. In most cases, the buffer will contain a small portion of changed spans that are potentially not included in the index. To reuse all the other spans that haven't changed, we will query the database for embeddings by their digest. This means we have to index spans by their digest, which means some penalty when writing, but in our tests this didn't seem to make indexing much slower. Release Notes: - Improved semantic search to include results from modified buffers. (preview-only)
7 files changedLine totals unavailable