zed/crates/indexed_docs
Marshall Bowers ad3055076d
assistant: Allow /docs to perform JIT indexing when run (#14768)
This PR updates the `/docs` slash command with the ability to
just-in-time index a package when there are not yet any results in the
index.

When running a `/docs` slash command, we fist check to see if there are
any results in the index that would match the search.

If there are, we go ahead and return them, as we do today.

However, if there are not yet any results we kick off an indexing task
as part of the command execution to fetch the results.

Release Notes:

- N/A
2024-07-18 17:01:48 -04:00
..
src assistant: Allow /docs to perform JIT indexing when run (#14768) 2024-07-18 17:01:48 -04:00
Cargo.toml Start work on genericizing /rustdoc (#13745) 2024-07-02 13:14:56 -04:00
LICENSE-GPL Start work on genericizing /rustdoc (#13745) 2024-07-02 13:14:56 -04:00