# Fix some semantic index issues \(\#11216\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/38b9d5cc36f2377dc89da54ea6a4df9e167019c1)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 38b9d5cc36f2377dc89da54ea6a4df9e167019c1

Requested commit: 38b9d5cc36f2377dc89da54ea6a4df9e167019c1

Commit: 38b9d5cc36f2377dc89da54ea6a4df9e167019c1

Tree: f89424313996138a366ec6a15a3a38b9c39dc686

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix some semantic index issues (#11216)

* [x] Fixed an issue where embeddings would be assigned incorrectly to
files if a subset of embedding batches failed
* [x] Added a command to debug which paths are present in the semantic
index
* [x] Determine why so many paths are often missing from the semantic
index
* we erroring out if an embedding batch contained multiple texts that
were the same, which can happen if a worktree contains multiple copies
of the same text (e.g. a license).

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>
Co-authored-by: Nathan <nathan@zed.dev>
Co-authored-by: Kyle <kylek@zed.dev>
Co-authored-by: Kyle Kelley <rgbkrk@gmail.com>
```

## Parents

- [d01428e69c411482da1ad95e8f20716b626d1ec8](https://git.cafe/gitcafe/zed/commit/d01428e69c411482da1ad95e8f20716b626d1ec8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/38b9d5cc36f2377dc89da54ea6a4df9e167019c1?format=markdown)
