-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
investigate searching is closed notebooks #173726
Comments
Some possibilities: 1. New extension provider API - extensions provide info on what the search results are for the notebook/editor that they provide, given the search queryPros:
Cons:
2. Mostly relying on what we already have in core - use Notebook Find widget results to searchPros
Cons:
|
Discussed options that involved only searching for inputs in closed notebooks, which can be deduced once notebooks are serialized. Tested deserializing performance here:
Results:
|
I have an example implementation in 2abfedc, but we still have high numbers. Mostly because of deserialization time.
|
I have tried to cache notebook data in memory so that subsequent runs with the same set of files is not as slow as the first in cc6cae4. First search:
Second search:
|
Todo:
|
This issue is for tracking research on how we should handle searching in closed notebooks. Functionality for searching opened/rendered notebooks is in #164926.
The main problem is that the notebook must be rendered/opened for the find widget to be used on it.
The text was updated successfully, but these errors were encountered: